a58b3721ed
* 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 |
||
---|---|---|
.. | ||
__init__.py | ||
common.py | ||
conftest.py | ||
data.py | ||
test_alarm_control_panel.py | ||
test_api.py | ||
test_backup.py | ||
test_base.py | ||
test_binary_sensor.py | ||
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 | ||
test_discover.py | ||
test_fan.py | ||
test_gateway.py | ||
test_helpers.py | ||
test_init.py | ||
test_light.py | ||
test_lock.py | ||
test_logbook.py | ||
test_number.py | ||
test_radio_manager.py | ||
test_registries.py | ||
test_select.py | ||
test_sensor.py | ||
test_siren.py | ||
test_switch.py | ||
test_websocket_api.py | ||
zha_devices_list.py |