From 5084ccf0ebb363cbf7a42c08c07d8f20a0875b5e Mon Sep 17 00:00:00 2001 From: blue-bean <5843358+blue-bean@users.noreply.github.com> Date: Mon, 16 Dec 2024 23:35:01 +0100 Subject: [PATCH] Using ID_Soll_BWS_akt for hot water target temperature Using ID_Soll_BWS_akt for hot water target temperature --- custom_components/luxtronik/const.py | 2 +- custom_components/luxtronik/number_entities_predefined.py | 4 ++-- custom_components/luxtronik/water_heater.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/custom_components/luxtronik/const.py b/custom_components/luxtronik/const.py index 65f7600..48f3879 100644 --- a/custom_components/luxtronik/const.py +++ b/custom_components/luxtronik/const.py @@ -272,7 +272,7 @@ class LuxParameter(StrEnum): UNSET: Final = "UNSET" P0001_HEATING_TARGET_CORRECTION: Final = "parameters.ID_Einst_WK_akt" - P0002_DHW_TARGET_TEMPERATURE: Final = "parameters.ID_Einst_BWS_akt" + P0105_DHW_TARGET_TEMPERATURE: Final = "parameters.ID_Soll_BWS_akt" P0003_MODE_HEATING: Final = "parameters.ID_Ba_Hz_akt" P0004_MODE_DHW: Final = "parameters.ID_Ba_Bw_akt" P0011_HEATING_CIRCUIT_CURVE1_TEMPERATURE: Final = "parameters.ID_Einst_HzHwHKE_akt" diff --git a/custom_components/luxtronik/number_entities_predefined.py b/custom_components/luxtronik/number_entities_predefined.py index 46a5491..5d08cae 100644 --- a/custom_components/luxtronik/number_entities_predefined.py +++ b/custom_components/luxtronik/number_entities_predefined.py @@ -371,7 +371,7 @@ # region Domestic water LuxtronikNumberDescription( key=SensorKey.DHW_TARGET_TEMPERATURE, - luxtronik_key=LP.P0002_DHW_TARGET_TEMPERATURE, + luxtronik_key=LP.P0105_DHW_TARGET_TEMPERATURE, device_key=DeviceKey.domestic_water, mode=NumberMode.BOX, icon="mdi:thermometer-water", @@ -379,7 +379,7 @@ native_unit_of_measurement=UnitOfTemperature.CELSIUS, native_min_value=-40.0, native_max_value=60.0, - native_step=1.0, + native_step=0.5, update_interval=None, ), LuxtronikNumberDescription( diff --git a/custom_components/luxtronik/water_heater.py b/custom_components/luxtronik/water_heater.py index 3b9d863..7987a07 100644 --- a/custom_components/luxtronik/water_heater.py +++ b/custom_components/luxtronik/water_heater.py @@ -57,7 +57,7 @@ | WaterHeaterEntityFeature.AWAY_MODE, luxtronik_key=LuxParameter.P0004_MODE_DHW, luxtronik_key_current_temperature=LuxCalculation.C0017_DHW_TEMPERATURE, - luxtronik_key_target_temperature=LuxParameter.P0002_DHW_TARGET_TEMPERATURE, + luxtronik_key_target_temperature=LuxParameter.P0105_DHW_TARGET_TEMPERATURE, luxtronik_key_current_action=LuxCalculation.C0080_STATUS, luxtronik_action_heating=LuxOperationMode.domestic_water, # luxtronik_key_target_temperature_high=LuxParameter,