core/tests/components/zwave_js
AlCalzone f446e42317
Support non-dimmable color lights in Z-Wave JS (#127808)
* 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>
2024-10-10 14:36:37 +02:00
..
fixtures Support non-dimmable color lights in Z-Wave JS (#127808) 2024-10-10 14:36:37 +02:00
scripts
snapshots
__init__.py
common.py
conftest.py Support non-dimmable color lights in Z-Wave JS (#127808) 2024-10-10 14:36:37 +02:00
test_api.py Bump zwave-js-server-python to 0.58.1 (#127114) 2024-09-30 18:35:14 +02:00
test_binary_sensor.py
test_button.py
test_climate.py
test_config_flow.py Use aiohasupervisor for store APIs (#126780) 2024-10-10 10:27:20 +02:00
test_config_validation.py Fix zwave_js config validation for values (#127972) 2024-10-09 07:35:41 +02:00
test_cover.py Cover state is enum (#127144) 2024-10-08 18:39:04 +02:00
test_device_action.py
test_device_condition.py
test_device_trigger.py
test_diagnostics.py
test_discovery.py Support non-dimmable color lights in Z-Wave JS (#127808) 2024-10-10 14:36:37 +02:00
test_event.py
test_events.py
test_fan.py
test_helpers.py
test_humidifier.py
test_init.py Use aiohasupervisor for store APIs (#126780) 2024-10-10 10:27:20 +02:00
test_light.py Support non-dimmable color lights in Z-Wave JS (#127808) 2024-10-10 14:36:37 +02:00
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 Bump zwave-js-server-python to 0.58.1 (#127114) 2024-09-30 18:35:14 +02:00
test_update.py