From 4dd4ba8bc57c64fb352a255043f2c5695613790d Mon Sep 17 00:00:00 2001 From: Robbe-B <103053873+Robbe-B@users.noreply.github.com> Date: Mon, 9 Dec 2024 17:40:59 +0100 Subject: [PATCH] hydro models => add support for setting/getting the minimum temperature for which the circulation pump should turn on --- custom_components/maestro_mcz/models.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/custom_components/maestro_mcz/models.py b/custom_components/maestro_mcz/models.py index 5e984bc..070aed6 100644 --- a/custom_components/maestro_mcz/models.py +++ b/custom_components/maestro_mcz/models.py @@ -315,6 +315,12 @@ def __init__(self, user_friendly_name:str, sensor_get_name:str, icon:str, unit:s NumberMczConfigItem("Ambient - Negative Hysteresis", "ist_neg_amb", "m1_ist_neg_amb", "Ambiente", "auto", "mdi:thermometer-minus", UnitOfTemperature.CELSIUS ,EntityCategory.CONFIG, NumberDeviceClass.TEMPERATURE, True), #for first generation M1+ NumberMczConfigItem("Ambient - Positive Hysteresis", "ist_pos_amb", "ist_pos_amb", "Ambiente", "auto", "mdi:thermometer-plus", UnitOfTemperature.CELSIUS ,EntityCategory.CONFIG, NumberDeviceClass.TEMPERATURE, True), NumberMczConfigItem("Ambient - Positive Hysteresis", "ist_pos_amb", "m1_ist_pos_amb", "Ambiente", "auto", "mdi:thermometer-plus", UnitOfTemperature.CELSIUS ,EntityCategory.CONFIG, NumberDeviceClass.TEMPERATURE, True), #for first generation M1+ + + #HYDRO - circulation pump + NumberMczConfigItem("Circulation Pump - On - Minimum Temperature", "temp_min_circ_on", "temp_min_circ_on", "temp_avanzate", "auto", "mdi:pump", UnitOfTemperature.CELSIUS ,EntityCategory.CONFIG, NumberDeviceClass.TEMPERATURE, True), + NumberMczConfigItem("Circulation Pump - On - Minimum Temperature", "temp_min_circ_on", "m1_temp_min_circ_on", "temp_avanzate", "auto", "mdi:pump", UnitOfTemperature.CELSIUS ,EntityCategory.CONFIG, NumberDeviceClass.TEMPERATURE, True), #for first generation M1+ + + ] supported_selectors = [