core/tests/components/deconz
Robert Svensson deed5f327c
Add low battery binary sensor to deCONZ integration (#64168)
* Make tamper sensor a property sensor

* Add low battery binary sensor as a binary property sensor

* Change according to review comment

* Use value_fn lambda

* Fix comparison

* Specific entity_description typing

* Minimize the code block affected by catching AttributeError

* Update homeassistant/components/deconz/binary_sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/deconz/binary_sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Avoid try statement

* Reflect review changes in sensor platform as well

* Store known sensor entities once per device

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-17 22:35:20 +01:00
..
__init__.py
conftest.py Reflect changes to pydeconz v84 (#56361) 2021-09-18 09:05:08 +02:00
test_alarm_control_panel.py Add low battery binary sensor to deCONZ integration (#64168) 2022-01-17 22:35:20 +01:00
test_binary_sensor.py Add low battery binary sensor to deCONZ integration (#64168) 2022-01-17 22:35:20 +01:00
test_climate.py Add typing to deCONZ Climate and Cover platforms (#59610) 2021-11-17 15:08:37 +01:00
test_config_flow.py Use dataclass for HassioServiceInfo (#60824) 2021-12-03 14:05:56 +01:00
test_cover.py Use websocket fixture in deCONZ cover tests (#47822) 2021-03-18 10:07:11 +01:00
test_deconz_event.py Add low battery binary sensor to deCONZ integration (#64168) 2022-01-17 22:35:20 +01:00
test_device_trigger.py Use DeviceAutomationType in tests/components/[a-f]* (#62440) 2021-12-20 22:26:29 +01:00
test_fan.py Add proper percentage support to deCONZ fan integration (#48187) 2021-03-23 22:29:55 +01:00
test_gateway.py Use dataclass properties in deconz discovery (#60690) 2021-12-01 19:38:20 +01:00
test_init.py Reflect changes to pydeconz v84 (#56361) 2021-09-18 09:05:08 +02:00
test_light.py Fix deconz light service parameter handling (#62128) 2021-12-22 09:29:54 +01:00
test_lock.py Add support for ZHADoorLock locks to deCONZ integration(#48516) 2021-03-31 09:36:06 +02:00
test_logbook.py Add support for deCONZ alarm events in logbook (#49652) 2021-04-28 19:46:15 +02:00
test_number.py Add deCONZ number config entity for Hue motion sensor delay (#58076) 2021-10-20 11:23:24 +02:00
test_scene.py Improve deCONZ services and scenes tests (#47829) 2021-03-18 11:57:56 +01:00
test_sensor.py Add Air Quality PPB sensor to deCONZ integration (#64164) 2022-01-17 20:25:55 +01:00
test_services.py Add typing to deCONZ init and config flow (#59999) 2021-12-01 18:59:52 +01:00
test_siren.py deCONZ use siren platform (#56397) 2021-09-18 21:59:04 +02:00
test_switch.py deCONZ use siren platform (#56397) 2021-09-18 21:59:04 +02:00