* 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> |
||
---|---|---|
.. | ||
__init__.py | ||
common.py | ||
test_alarm_control_panel.py | ||
test_binary_sensor.py | ||
test_config_flow.py | ||
test_diagnostics.py | ||
test_init.py |