* 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 |
||
---|---|---|
.. | ||
auth | ||
backports | ||
brands | ||
components | ||
generated | ||
helpers | ||
scripts | ||
util | ||
__init__.py | ||
__main__.py | ||
block_async_io.py | ||
bootstrap.py | ||
config.py | ||
config_entries.py | ||
const.py | ||
core.py | ||
data_entry_flow.py | ||
exceptions.py | ||
loader.py | ||
package_constraints.txt | ||
requirements.py | ||
runner.py | ||
setup.py | ||
strings.json |