From 52f4f9ed56f89dfbb072d9b5943e350f34b40969 Mon Sep 17 00:00:00 2001 From: Anders Evenrud Date: Sun, 12 Feb 2023 20:30:59 +0100 Subject: [PATCH] fix(const): current kwh invalid device --- custom_components/nexa_bridge_x/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/nexa_bridge_x/const.py b/custom_components/nexa_bridge_x/const.py index 8fb572b..0c12952 100644 --- a/custom_components/nexa_bridge_x/const.py +++ b/custom_components/nexa_bridge_x/const.py @@ -165,7 +165,7 @@ "current_kilowatt_hours": { "name": "Current kWh", "unit": ENERGY_KILO_WATT_HOUR, - "device": SensorDeviceClass.ENERGY, + "device": SensorDeviceClass.POWER, "class": SensorStateClass.MEASUREMENT }, "today_kilowatt_hours": {