hass-core/tests/components/totalconnect
Austin Mroczek 16c915864b
Add diagnostic sensors for TotalConnect (#73152)
* 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>
2023-05-07 10:27:33 +02:00
..
__init__.py
common.py Add diagnostic sensors for TotalConnect (#73152) 2023-05-07 10:27:33 +02:00
test_alarm_control_panel.py Migrate totalconnect to use async_forward_entry_setups (#86580) 2023-01-25 10:26:49 +01:00
test_binary_sensor.py Add diagnostic sensors for TotalConnect (#73152) 2023-05-07 10:27:33 +02:00
test_config_flow.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_diagnostics.py Add type hints to integration tests (t-z) (#87707) 2023-02-08 19:10:53 +01:00
test_init.py Add type hints to integration tests (t-z) (#87707) 2023-02-08 19:10:53 +01:00