1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-25 20:35:09 +00:00
Files
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
..
2023-03-30 20:55:01 -04:00