mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-14 21:40:42 +08:00
fix incorrect SPEC name
This commit is contained in:
parent
cc7cf52b3f
commit
4dba4dabdb
@ -399,7 +399,7 @@ SPEC_PROP_TRANS_MAP: dict[str, dict | str] = {
|
||||
'unit_of_measurement': UnitOfElectricPotential.VOLT
|
||||
}
|
||||
},
|
||||
'current': {
|
||||
'electric-current': {
|
||||
'device_class': SensorDeviceClass.CURRENT,
|
||||
'entity': 'sensor',
|
||||
'optional': {
|
||||
@ -423,7 +423,7 @@ SPEC_PROP_TRANS_MAP: dict[str, dict | str] = {
|
||||
'unit_of_measurement': UnitOfPower.WATT
|
||||
}
|
||||
},
|
||||
'over-electric-power': {
|
||||
'surge-power': {
|
||||
'device_class': SensorDeviceClass.POWER,
|
||||
'entity': 'sensor',
|
||||
'optional': {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user