* Z-Wave JS: support non-dimmable color lights * remove black_is_off light, support on/off/color * fix: tests for on/off light * fix: typo * remove commented out old test code * add test for off and on * support colored lights without separate brightness control * add test for color-only light * refactor: extract color only light * fix: preserve color when changing brightness * extend tests * refactor again * refactor scale check * refactor: remove impossible check * review feedback * review feedback * fix discovery to handle all 3 switch CCs, limit search to same endpoint * Update homeassistant/components/zwave_js/discovery.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/zwave_js/discovery.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * add test for Smart Switch 7 state * Add type annotations --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com> |
||
---|---|---|
.. | ||
fixtures | ||
scripts | ||
snapshots | ||
__init__.py | ||
common.py | ||
conftest.py | ||
test_api.py | ||
test_binary_sensor.py | ||
test_button.py | ||
test_climate.py | ||
test_config_flow.py | ||
test_config_validation.py | ||
test_cover.py | ||
test_device_action.py | ||
test_device_condition.py | ||
test_device_trigger.py | ||
test_diagnostics.py | ||
test_discovery.py | ||
test_event.py | ||
test_events.py | ||
test_fan.py | ||
test_helpers.py | ||
test_humidifier.py | ||
test_init.py | ||
test_light.py | ||
test_lock.py | ||
test_logbook.py | ||
test_migrate.py | ||
test_number.py | ||
test_repairs.py | ||
test_select.py | ||
test_sensor.py | ||
test_services.py | ||
test_siren.py | ||
test_switch.py | ||
test_trigger.py | ||
test_update.py |