From 49377de24883b86eb7548f82766176c957bf4b4c Mon Sep 17 00:00:00 2001 From: Jean-Marc Collin Date: Mon, 30 Oct 2023 16:43:21 +0000 Subject: [PATCH] Change regulation parameters --- custom_components/versatile_thermostat/const.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/custom_components/versatile_thermostat/const.py b/custom_components/versatile_thermostat/const.py index 3da815b..4b6ba51 100644 --- a/custom_components/versatile_thermostat/const.py +++ b/custom_components/versatile_thermostat/const.py @@ -231,21 +231,21 @@ class RegulationParamLight: class RegulationParamMedium: """ Medium parameters for regulation""" - kp:float = 0.5 - ki:float = 0.1 + kp:float = 0.4 + ki:float = 0.08 k_ext:float = 0.1 offset_max:float = 3 stabilization_threshold:float = 0.1 - accumulated_error_threshold:float = 30 + accumulated_error_threshold:float = 25 class RegulationParamStrong: """ Strong parameters for regulation""" kp:float = 0.6 - ki:float = 0.2 + ki:float = 0.1 k_ext:float = 0.2 offset_max:float = 4 stabilization_threshold:float = 0.1 - accumulated_error_threshold:float = 40 + accumulated_error_threshold:float = 30 class EventType(Enum): """The event type that can be sent"""