mirror of
https://github.com/home-assistant/core.git
synced 2025-04-27 02:37:50 +00:00

* add diagnostic sensors * test binary_sensor.py file * add tests for binary sensor * fix zone type checks and error on unknown * improve entity tests * hide entities by default * Revert "hide entities by default" This reverts commit 9808d732471385e45ccc5f7c3aea93bfecbdfa6f. * Update homeassistant/components/totalconnect/binary_sensor.py Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> * update binary_sensor per comments * update test * move to _attr_extra_state_attributes * no spaces in unique_id * update per balloob suggestions * fix typing * fix black and mypy * Apply suggestions from code review Co-authored-by: G Johansson <goran.johansson@shiftit.se> * add more to binary_sensor tests * remove unused import --------- Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> Co-authored-by: G Johansson <goran.johansson@shiftit.se>