mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-11-21 03:28:57 +08:00
Fix specs (#1496)
* fix: roidmi.vacuum.v60 duplicated service name for vacuum entity * fix: cykj.hood.jyj22 spec urn version 4 (#1477) * fix: lumi.motion.bmgl01 siid=2 piid=2 value-list (#1444) * fix: ykcn.valve.cbcs power property value unit (#1488) * fix: ainice.sensor_occupy.3b siid=2 piid=5,11,14,17 device_class (#1495) * fix: qdhkl.airc.a42 hvac mode (#1483)
This commit is contained in:
@@ -747,6 +747,7 @@ class MIoTDevice:
|
||||
'watt': UnitOfPower.WATT,
|
||||
'w': UnitOfPower.WATT,
|
||||
'W': UnitOfPower.WATT,
|
||||
'kW': UnitOfPower.KILO_WATT,
|
||||
'kWh': UnitOfEnergy.KILO_WATT_HOUR,
|
||||
'A': UnitOfElectricCurrent.AMPERE,
|
||||
'mA': UnitOfElectricCurrent.MILLIAMPERE,
|
||||
|
||||
Reference in New Issue
Block a user