fix: chuangmi.plug.212a01 power consumption value

This commit is contained in:
LiShuzhen
2025-03-21 09:18:04 +08:00
parent 3759aa9a1b
commit 1ef8fdc42a
2 changed files with 5 additions and 6 deletions

View File

@@ -560,12 +560,6 @@ SPEC_PROP_TRANS_MAP: dict = {
'entity': 'sensor',
'state_class': SensorStateClass.MEASUREMENT,
'unit_of_measurement': UnitOfPower.WATT
},
'total-battery': {
'device_class': SensorDeviceClass.ENERGY,
'entity': 'sensor',
'state_class': SensorStateClass.TOTAL_INCREASING,
'unit_of_measurement': UnitOfEnergy.KILO_WATT_HOUR
}
}
}