hass-core/tests/components/zwave_js
AlCalzone c7cfd56b72
Support Z-Wave JS dimming lights using color intensity (#122639)
* 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

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-08-29 00:01:53 +02:00
..
fixtures Add Z-Wave discovery schema for ZVIDAR roller shades (#122332) 2024-07-21 23:51:10 +02:00
scripts
__init__.py
common.py
conftest.py Refactor and cleanup zwave_js fixtures to share them (#124485) 2024-08-23 15:42:57 +02:00
test_api.py
test_binary_sensor.py
test_button.py
test_climate.py
test_config_flow.py Cleanup unused import in zwave_js config flow (#124716) 2024-08-27 18:41:27 +02:00
test_config_validation.py
test_cover.py
test_device_action.py
test_device_condition.py Use service_calls fixture in zwave_js tests (#120994) 2024-07-02 12:37:21 +02:00
test_device_trigger.py Use service_calls fixture in zwave_js tests (#120994) 2024-07-02 12:37:21 +02:00
test_diagnostics.py
test_discovery.py Add Z-Wave discovery schema for ZVIDAR roller shades (#122332) 2024-07-21 23:51:10 +02:00
test_event.py
test_events.py
test_fan.py Add TURN_OFF/TURN_ON feature flags for fan (#121447) 2024-07-19 11:35:24 +02:00
test_helpers.py Fix ruff type comparison E721 (#120731) 2024-06-28 11:56:49 +02:00
test_humidifier.py
test_init.py
test_light.py Support Z-Wave JS dimming lights using color intensity (#122639) 2024-08-29 00:01:53 +02:00
test_lock.py
test_logbook.py
test_migrate.py
test_number.py
test_repairs.py
test_select.py
test_sensor.py Add discovery rule for a Z-Wave Basic CC sensor (#105134) 2024-06-22 11:22:32 +02:00
test_services.py
test_siren.py
test_switch.py
test_trigger.py
test_update.py