hass-core/tests/components/zwave_js
Raman Gupta 66f7218b68
Do optimistic state update for Z-Wave multilevel switch entities (#90490)
* Do optimistic state update for Z-Wave multilevel switch entities

* simplify

* define constant for setting value to previous value

* Rework to only consider value of 255 and only places where we know that the previous state is known by the integration due to the service being called

* missed commit

* better code

* Add tests and use constant from lib

* fix logic

* fix bug

* Add comments with more details
2023-05-24 09:04:11 -04:00
..
fixtures
__init__.py
common.py Update name for Notification CC sensors and buttons (#93019) 2023-05-24 09:00:37 -04:00
conftest.py
test_api.py
test_binary_sensor.py
test_button.py Update name for Notification CC sensors and buttons (#93019) 2023-05-24 09:00:37 -04:00
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_events.py
test_fan.py Do optimistic state update for Z-Wave multilevel switch entities (#90490) 2023-05-24 09:04:11 -04:00
test_helpers.py Improve test coverage for zwave_js (#93262) 2023-05-22 12:20:01 +02:00
test_humidifier.py Improve test coverage for zwave_js (#93262) 2023-05-22 12:20:01 +02:00
test_init.py Update name for Notification CC sensors and buttons (#93019) 2023-05-24 09:00:37 -04:00
test_light.py Do optimistic state update for Z-Wave multilevel switch entities (#90490) 2023-05-24 09:04:11 -04:00
test_lock.py
test_logbook.py
test_migrate.py
test_number.py
test_select.py
test_sensor.py Refactor zwave_js.sensor and add test coverage (#93259) 2023-05-22 11:58:10 -04:00
test_services.py
test_siren.py
test_switch.py
test_trigger.py Improve test coverage for zwave_js.trigger (#93260) 2023-05-22 17:55:03 +02:00
test_update.py Improve test coverage for zwave_js (#93262) 2023-05-22 12:20:01 +02:00