Add alarm control panel support to deCONZ integration (#48736)

* Infrastructure in place

* Base implementation

* Add alarm event

* Add custom services to alarm control panel

* Add service descriptions

* Increase test coverage

* Simplified to one entity service with an options selector

* Remove everything but the essentials

* Add library with proper support

* Fix stale comments
This commit is contained in:
Robert Svensson 2021-04-20 17:34:11 +02:00 committed by GitHub
parent fa05e5a8a0
commit 34245c3add
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 560 additions and 21 deletions

View file

@ -1,5 +1,6 @@
"""Support for deCONZ sensors."""
from pydeconz.sensor import (
AncillaryControl,
Battery,
Consumption,
Daylight,
@ -104,7 +105,8 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
if (
not sensor.BINARY
and sensor.type
not in Battery.ZHATYPE
not in AncillaryControl.ZHATYPE
+ Battery.ZHATYPE
+ DoorLock.ZHATYPE
+ Switch.ZHATYPE
+ Thermostat.ZHATYPE