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 |
||
---|---|---|
.. | ||
core | ||
__init__.py | ||
alarm_control_panel.py | ||
api.py | ||
backup.py | ||
binary_sensor.py | ||
button.py | ||
climate.py | ||
config_flow.py | ||
cover.py | ||
device_action.py | ||
device_tracker.py | ||
device_trigger.py | ||
diagnostics.py | ||
entity.py | ||
fan.py | ||
light.py | ||
lock.py | ||
logbook.py | ||
manifest.json | ||
number.py | ||
radio_manager.py | ||
select.py | ||
sensor.py | ||
services.yaml | ||
siren.py | ||
strings.json | ||
switch.py | ||
websocket_api.py |