Fix specs (#1517)
Some checks failed
Tests / check-rule-format (push) Failing after 7s
Validate / validate-hassfest (push) Failing after 2s
Validate / validate-hacs (push) Failing after 13s
Validate / validate-lint (push) Failing after 1s
Validate / validate-setup (push) Failing after 6s

* fix: xiaomi.waterpuri.s1200g filter property unit (#1489)

* fix: xiaomi.aircondition.c24 power consumption device class (#1243)

* fix: cuco.plug.cp7pd power consumption and power value precision (#1502)

* fix: lxzn.valve.02 electricity property unit (#1514)
This commit is contained in:
Li Shuzhen
2025-11-24 17:11:38 +08:00
committed by GitHub
parent 33ee65cf75
commit 1b87381f43
3 changed files with 57 additions and 0 deletions

View File

@@ -748,6 +748,7 @@ class MIoTDevice:
'w': UnitOfPower.WATT,
'W': UnitOfPower.WATT,
'kW': UnitOfPower.KILO_WATT,
'Wh': UnitOfEnergy.WATT_HOUR,
'kWh': UnitOfEnergy.KILO_WATT_HOUR,
'A': UnitOfElectricCurrent.AMPERE,
'mA': UnitOfElectricCurrent.MILLIAMPERE,