core/tests/components/zha
TheJulianJES a58b3721ed
Restore state for ZHA OnOff binary sensors (#90749)
* Restore state for ZHA OnOff binary sensors

* Let `Motion` extend `Opening`

`Motion` is just a specified version of `Opening` that only changes the device class for some motion sensors.
Since we have more "special code" in the OnOff/Opening sensor now, we also want to make sure that gets applied to `Motion` binary sensors.

* Improve comment and type

* Add test to verify that binary sensors restore last HA state
2023-04-03 22:27:57 -04:00
..
__init__.py
common.py
conftest.py
data.py
test_alarm_control_panel.py
test_api.py Correctly load ZHA settings from API when integration is not running (#90476) 2023-03-29 17:24:26 -04:00
test_backup.py
test_base.py Fix ZHA definition error on received command (#90602) 2023-03-31 14:53:42 -04:00
test_binary_sensor.py Restore state for ZHA OnOff binary sensors (#90749) 2023-04-03 22:27:57 -04:00
test_button.py
test_channels.py
test_climate.py
test_config_flow.py
test_cover.py
test_device.py
test_device_action.py
test_device_tracker.py
test_device_trigger.py
test_diagnostics.py Perform an energy scan when downloading ZHA diagnostics (#90605) 2023-03-31 15:37:00 -04:00
test_discover.py
test_fan.py
test_gateway.py Bump ZHA dependencies (#90547) 2023-03-30 20:55:01 -04:00
test_helpers.py
test_init.py ZHA network settings API (#88564) 2023-03-22 11:15:46 -04:00
test_light.py
test_lock.py
test_logbook.py
test_number.py
test_radio_manager.py
test_registries.py Fix `quirk_class_validator` in ZHA unit tests (#90140) 2023-03-27 11:57:40 -04:00
test_select.py Parse attribute reports for ZHA select entity (#89418) 2023-03-09 07:01:18 -05:00
test_sensor.py
test_siren.py
test_switch.py
test_websocket_api.py ZHA network settings API (#88564) 2023-03-22 11:15:46 -04:00
zha_devices_list.py