Add ZHA occupancy sensor (#19365)
* occupancy sensor * lint * map occupancy cluster to binary_sensor * update to use reporting configuration and async_configure * refactor * fix typo - review comment * handle restore entity functionality
This commit is contained in:
parent
2765440aa5
commit
2a2af80309
2 changed files with 76 additions and 3 deletions
|
@ -138,6 +138,7 @@ def populate_data():
|
|||
zcl.clusters.homeautomation.ElectricalMeasurement: 'sensor',
|
||||
zcl.clusters.general.PowerConfiguration: 'sensor',
|
||||
zcl.clusters.security.IasZone: 'binary_sensor',
|
||||
zcl.clusters.measurement.OccupancySensing: 'binary_sensor',
|
||||
zcl.clusters.hvac.Fan: 'fan',
|
||||
})
|
||||
SINGLE_OUTPUT_CLUSTER_DEVICE_CLASS.update({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue