diff --git a/custom_components/luxtronik/const.py b/custom_components/luxtronik/const.py index 16f7c71..7853908 100644 --- a/custom_components/luxtronik/const.py +++ b/custom_components/luxtronik/const.py @@ -76,7 +76,7 @@ UNITS = { CONF_CELSIUS: UnitOfTemperature.CELSIUS, CONF_SECONDS: UnitOfTime.SECONDS, - CONF_KELVIN: "K", + CONF_KELVIN: UnitOfTemperature.KELVIN, CONF_BAR: UnitOfPressure.BAR, CONF_PERCENT: PERCENTAGE, CONF_ENERGY: UnitOfEnergy.KILO_WATT_HOUR,