From 10ce866da117309148b9b4d8c07464c8520e983c Mon Sep 17 00:00:00 2001 From: Kevin Date: Fri, 7 Mar 2025 14:03:16 +0100 Subject: [PATCH] Fix temperature unit --- custom_components/ocpp/const.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/ocpp/const.py b/custom_components/ocpp/const.py index 52395600..bd2ca551 100644 --- a/custom_components/ocpp/const.py +++ b/custom_components/ocpp/const.py @@ -134,6 +134,7 @@ SensorDeviceClass.POWER: ha.UnitOfPower.KILO_WATT, SensorDeviceClass.REACTIVE_POWER: ha.UnitOfReactivePower.VOLT_AMPERE_REACTIVE, SensorDeviceClass.ENERGY: ha.UnitOfEnergy.KILO_WATT_HOUR, + SensorDeviceClass.TEMPERATURE: ha.UnitOfTemperature.CELSIUS, }