core/homeassistant
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
..
auth Cache decode of JWT tokens (#90013) 2023-03-22 16:03:41 -10:00
backports
brands Remove xbox_live integration (#90592) 2023-03-31 14:30:04 -04:00
components Restore state for ZHA OnOff binary sensors (#90749) 2023-04-03 22:27:57 -04:00
generated Add DHCP discovery to Obihai (#88984) 2023-04-03 21:17:56 +02:00
helpers Fix memory churn in state templates (#90685) 2023-04-02 20:51:25 -04:00
scripts
util Add preferred wind speed unit to unit systems (#90504) 2023-03-30 12:54:12 +02:00
__init__.py
__main__.py
block_async_io.py
bootstrap.py Fix memory churn in state templates (#90685) 2023-04-02 20:51:25 -04:00
config.py Add ComponentProtocol to improve type checking (#90586) 2023-03-31 14:19:58 -04:00
config_entries.py Add ComponentProtocol to improve type checking (#90586) 2023-03-31 14:19:58 -04:00
const.py Bump version to 2023.5.0dev0 (#90477) 2023-03-29 16:46:32 -04:00
core.py Fix filesize doing blocking I/O in the event loop (#90479) 2023-03-29 17:26:28 -04:00
data_entry_flow.py
exceptions.py
loader.py Add ComponentProtocol to improve type checking (#90586) 2023-03-31 14:19:58 -04:00
package_constraints.txt Update frontend to 20230403.0 (#90735) 2023-04-03 21:32:40 +02:00
requirements.py
runner.py
setup.py Add ComponentProtocol to improve type checking (#90586) 2023-03-31 14:19:58 -04:00
strings.json Add state translations for helpers (#90356) 2023-03-27 16:19:25 -04:00