Add ZHA battery sensor (#19363)

* add batery sensor

* add additional battery sizes

* remove blank line

* lint

* fix attribute report configuration

* return None - review comments
This commit is contained in:
David F. Mulcahey 2018-12-22 03:11:33 -05:00 committed by Martin Hjelmare
parent fb226e3e3b
commit b444dfe8a6
2 changed files with 69 additions and 1 deletions

View file

@ -136,6 +136,7 @@ def populate_data():
zcl.clusters.measurement.IlluminanceMeasurement: 'sensor',
zcl.clusters.smartenergy.Metering: 'sensor',
zcl.clusters.homeautomation.ElectricalMeasurement: 'sensor',
zcl.clusters.general.PowerConfiguration: 'sensor',
zcl.clusters.security.IasZone: 'binary_sensor',
zcl.clusters.hvac.Fan: 'fan',
})