mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-11-29 18:19:06 +08:00
Fix specs (#1517)
Some checks failed
Some checks failed
* 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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user