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:
parent
fa05e5a8a0
commit
34245c3add
10 changed files with 560 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue