From cdbe8dd190ea02ef2f7c4917366e9f0376267103 Mon Sep 17 00:00:00 2001 From: Tucker Kern Date: Thu, 25 Jul 2024 08:36:24 -0600 Subject: [PATCH] Switch real time power unit to Watts (#196) --- custom_components/midea_ac/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/midea_ac/sensor.py b/custom_components/midea_ac/sensor.py index 4e0efeb..264c449 100644 --- a/custom_components/midea_ac/sensor.py +++ b/custom_components/midea_ac/sensor.py @@ -68,7 +68,7 @@ async def async_setup_entry( entities.append(MideaEnergySensor(coordinator, "real_time_power_usage", SensorDeviceClass.POWER, - UnitOfPower.KILO_WATT, + UnitOfPower.WATT, "real_time_power_usage")) add_entities(entities)