From e96e5ce2de1cbf25c9b7f95c9d3251cd22087e9f Mon Sep 17 00:00:00 2001 From: rhammen <75572839+rhammen@users.noreply.github.com> Date: Thu, 12 Oct 2023 23:02:54 +0200 Subject: [PATCH] Fix for #149 Fix for #149 --- custom_components/luxtronik/model.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/luxtronik/model.py b/custom_components/luxtronik/model.py index b0d262a..0cfc807 100644 --- a/custom_components/luxtronik/model.py +++ b/custom_components/luxtronik/model.py @@ -159,7 +159,7 @@ class LuxtronikClimateDescription( luxtronik_key_target_temperature: LuxParameter | LuxCalculation = LuxParameter.UNSET luxtronik_key_correction_factor: LuxParameter = LuxParameter.UNSET luxtronik_key_correction_target: LuxParameter = LuxParameter.UNSET - unit_of_measurement: str = UnitOfTemperature.CELSIUS + temperature_unit: str = UnitOfTemperature.CELSIUS @dataclass @@ -178,6 +178,7 @@ class LuxtronikWaterHeaterDescription( luxtronik_key_target_temperature: LuxParameter = LuxParameter.UNSET luxtronik_key_target_temperature_high: LuxParameter = LuxParameter.UNSET luxtronik_key_target_temperature_low: LuxParameter = LuxParameter.UNSET + temperature_unit: str = UnitOfTemperature.CELSIUS @dataclass