Bon j’ai laissé faire pendant quelques jours, c’était pas trop mal au tout début puis ça s’est remis à dériver…
Aurais tu une astuce pour régler ou contourner le problème ?
En regardant les journaux j’ai trouvé des choses, mais comme je n’y comprends pas grand chose je ne sais pas quoi te montrer, voila quelques extraits en espérant que ça aide :

Cette erreur provient d’une intégration personnalisée
Enregistreur: custom_components.versatile_thermostat.feature_safety_manager
Source: custom_components/versatile_thermostat/feature_safety_manager.py:217
intégration: Versatile Thermostat configuration (documentation, problèmes)
S’est produit pour la première fois: 9 janvier 2026 à 12:26:11 (35 occurrences)
Dernier enregistrement: 08:05:13
SafetyManager-Thermostat Ch Loona - End of safety mode.
SafetyManager-Thermostat Entrée - End of safety mode.
SafetyManager-Thermostat SàM - End of safety mode.
SafetyManager-Thermostat Cuisine - End of safety mode.
SafetyManager-Thermostat Eric - End of safety mode.
2026-01-10 03:17:17.554 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_switch] VersatileThermostat-Thermostat Ch Loona - Calling update_custom_attributes: {'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': <HVACMode.HEAT: 'heat'>, 'preset_mode': 'eco', 'ema_temp': 18.82, 'specific_states': {'is_on': True, 'last_central_mode': None, 'last_update_datetime': '2026-01-10T03:17:17.554880+01:00', 'ext_current_temperature': 6.8, 'last_temperature_datetime': '2026-01-10T02:20:13.516461+01:00', 'last_ext_temperature_datetime': '2026-01-10T01:54:23.612926+01:00', 'is_device_active': True, 'device_actives': ['switch.flush_1_relay_4'], 'nb_device_actives': 1, 'ema_temp': 18.82, 'temperature_slope': 0, 'hvac_off_reason': None, 'total_energy': 5.57, 'last_change_time_from_vtherm': '2026-01-09T20:18:17.098956+01:00', 'messages': [], 'is_sleeping': False, 'is_locked': False, 'is_recalculate_scheduled': False}, 'configuration': {'ac_mode': False, 'type': 'over_switch', 'is_controlled_by_central_mode': False, 'target_temperature_step': 0.1, 'minimal_activation_delay_sec': 10, 'minimal_deactivation_delay_sec': 0, 'timezone': 'Europe/Paris', 'temperature_unit': <UnitOfTemperature.CELSIUS: '°C'>, 'is_used_by_central_boiler': False, 'max_on_percent': None, 'have_valve_regulation': False, 'cycle_min': 5.0}, 'preset_temperatures': {'frost_temp': 10.0, 'eco_temp': 19.0, 'boost_temp': 22.0, 'comfort_temp': 21.0, 'frost_away_temp': 0, 'eco_away_temp': 0, 'boost_away_temp': 0, 'comfort_away_temp': 0}, 'current_state': {'hvac_mode': 'heat', 'target_temperature': 19.0, 'preset': 'eco'}, 'requested_state': {'hvac_mode': 'heat', 'target_temperature': 19.0, 'preset': 'eco'}, 'is_presence_configured': False, 'is_power_configured': False, 'power_manager': {'device_power': 1.0, 'mean_cycle_power': 0.2}, 'is_motion_configured': False, 'is_window_configured': True, 'is_window_auto_configured': False, 'window_manager': {'window_state': 'off', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': 'binary_sensor.grande_fenetre_ch_loona_contact', 'window_delay_sec': 180, 'window_off_delay_sec': 30, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None}, 'is_safety_configured': True, 'safety_manager': {'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1}, 'is_lock_configured': True, 'lock_manager': {'is_locked': False, 'lock_users': True, 'lock_automations': True, 'lock_code': False}, 'is_over_switch': True, 'on_percent': 0.18, 'power_percent': 18.0, 'vtherm_over_switch': {'is_inversed': False, 'keep_alive_sec': 0, 'underlying_entities': ['switch.flush_1_relay_4'], 'on_percent': 0.18, 'power_percent': 18.0, 'on_time_sec': 54, 'off_time_sec': 245, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.01, 'tpi_threshold_low': 0.0, 'tpi_threshold_high': 0.0, 'minimal_activation_delay': 10, 'minimal_deactivation_delay': 0, 'calculated_on_percent': 0.18, 'vswitch_on_commands': [], 'vswitch_off_commands': []}}
2026-01-10 03:19:26.540 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] --------------------> NEW EVENT: VersatileThermostat-Thermostat Ch Loona - Periodical control cycle started --------------------------------------------------------------
2026-01-10 03:19:26.540 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Thermostat Ch Loona - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=eco, force=False
2026-01-10 03:19:26.540 DEBUG (MainThread) [custom_components.versatile_thermostat.open_window_algorithm] We are already initialized slope=0.0 last_temp=18.82
2026-01-10 03:19:26.540 DEBUG (MainThread) [custom_components.versatile_thermostat.open_window_algorithm] delta_t=59.217 delta_temp=0.000 new_slope=0.000 last_slope=0.0 slope=0.000 nb_point=161
2026-01-10 03:19:26.540 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-Thermostat Ch Loona - Window auto is on, check the alert. last slope is 0.000
2026-01-10 03:19:26.540 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-Thermostat Ch Loona - Window auto event is ignored because bypass is ON or window auto detection is disabled
2026-01-10 03:19:26.541 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-Thermostat Ch Loona - checking safety delta_temp=59.2 delta_ext_temp=85.0 mod_cond=True temp_cond=True climate_cond=False switch_cond=False
Sur ce dernier extrait j’ai regardé le journal au moment d’une mise en route du radiateur à 6h25’57’’ consigne à 13°C et température de la chambre à 16°C… :
2026-01-13 06:25:57.943 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_switch]
2026-01-13 06:25:57.943 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_switch] --------------------> NEW EVENT: VersatileThermostat-Thermostat Ch Loona - Underlying switch state changed from off to on --------------------------------------------------------------
2026-01-13 06:25:57.943 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_switch] VersatileThermostat-Thermostat Ch Loona - Calling update_custom_attributes: {'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': <HVACMode.HEAT: 'heat'>, 'preset_mode': 'comfort', 'ema_temp': 15.95, 'specific_states': {'is_on': True, 'last_central_mode': None, 'last_update_datetime': '2026-01-13T06:25:57.943569+01:00', 'ext_current_temperature': 5.8, 'last_temperature_datetime': '2026-01-13T06:06:53.241238+01:00', 'last_ext_temperature_datetime': '2026-01-13T06:04:57.174475+01:00', 'is_device_active': True, 'device_actives': ['switch.flush_1_relay_4'], 'nb_device_actives': 1, 'ema_temp': 15.95, 'temperature_slope': 0.02, 'hvac_off_reason': None, 'total_energy': 0, 'last_change_time_from_vtherm': '2026-01-13T06:00:00.011591+01:00', 'messages': [], 'is_sleeping': False, 'is_locked': False, 'is_recalculate_scheduled': False}, 'configuration': {'ac_mode': False, 'type': 'over_switch', 'is_controlled_by_central_mode': False, 'target_temperature_step': 0.1, 'minimal_activation_delay_sec': 10, 'minimal_deactivation_delay_sec': 0, 'timezone': 'Europe/Paris', 'temperature_unit': <UnitOfTemperature.CELSIUS: '°C'>, 'is_used_by_central_boiler': False, 'max_on_percent': None, 'have_valve_regulation': False, 'cycle_min': 5.0}, 'preset_temperatures': {'frost_temp': 10.0, 'eco_temp': 13.0, 'boost_temp': 22.0, 'comfort_temp': 13.0, 'frost_away_temp': 0, 'eco_away_temp': 0, 'boost_away_temp': 0, 'comfort_away_temp': 0}, 'current_state': {'hvac_mode': 'heat', 'target_temperature': 13.0, 'preset': 'comfort'}, 'requested_state': {'hvac_mode': 'heat', 'target_temperature': 13.0, 'preset': 'comfort'}, 'is_presence_configured': False, 'is_power_configured': False, 'power_manager': {'device_power': 1.0, 'mean_cycle_power': 0.0}, 'is_motion_configured': False, 'is_window_configured': True, 'is_window_auto_configured': False, 'window_manager': {'window_state': 'off', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': 'binary_sensor.grande_fenetre_ch_loona_contact', 'window_delay_sec': 180, 'window_off_delay_sec': 30, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None}, 'is_safety_configured': True, 'safety_manager': {'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1}, 'is_lock_configured': True, 'lock_manager': {'is_locked': False, 'lock_users': True, 'lock_automations': True, 'lock_code': False}, 'is_over_switch': True, 'on_percent': 0, 'power_percent': 0, 'vtherm_over_switch': {'is_inversed': False, 'keep_alive_sec': 0, 'underlying_entities': ['switch.flush_1_relay_4'], 'on_percent': 0, 'power_percent': 0, 'on_time_sec': 0, 'off_time_sec': 300, 'function': 'tpi', 'tpi_coef_int': 0.4, 'tpi_coef_ext': 0.01, 'tpi_threshold_low': 0.0, 'tpi_threshold_high': 0.0, 'minimal_activation_delay': 10, 'minimal_deactivation_delay': 0, 'calculated_on_percent': 0, 'vswitch_on_commands': [], 'vswitch_off_commands': []}}
2026-01-13 06:29:14.915 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat]
2026-01-13 06:29:14.915 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] --------------------> NEW EVENT: VersatileThermostat-Thermostat Ch Loona - Periodical control cycle started --------------------------------------------------------------
2026-01-13 06:29:14.915 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Thermostat Ch Loona - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=comfort, force=False
2026-01-13 06:29:14.916 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-Thermostat Ch Loona - Window auto is on, check the alert. last slope is 0.020
2026-01-13 06:29:14.916 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-Thermostat Ch Loona - Window auto event is ignored because bypass is ON or window auto detection is disabled
2026-01-13 06:29:14.916 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-Thermostat Ch Loona - checking safety delta_temp=22.4 delta_ext_temp=24.3 mod_cond=True temp_cond=False climate_cond=False switch_cond=False
2026-01-13 06:29:14.916 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-Thermostat Ch Loona-switch.flush_1_relay_4 - Starting new cycle hvac_mode=heat on_time_sec=0 off_time_sec=300 force=False
2026-01-13 06:29:14.916 INFO (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-Thermostat Ch Loona-switch.flush_1_relay_4 - stop heating (2) for 5 min 0 sec
2026-01-13 06:29:14.916 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-Thermostat Ch Loona-switch.flush_1_relay_4 - Stopping underlying entity switch.flush_1_relay_4
2026-01-13 06:29:14.916 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-Thermostat Ch Loona-switch.flush_1_relay_4 - Sending command turn_off with data={'entity_id': 'switch.flush_1_relay_4'}
2026-01-13 06:29:14.918 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_switch] VersatileThermostat-Thermostat Ch Loona - Calling update_custom_attributes: {'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': <HVACMode.HEAT: 'heat'>, 'preset_mode': 'comfort', 'ema_temp': 15.95, 'specific_states': {'is_on': True, 'last_central_mode': None, 'last_update_datetime': '2026-01-13T06:29:14.917736+01:00', 'ext_current_temperature': 5.8, 'last_temperature_datetime': '2026-01-13T06:06:53.241238+01:00', 'last_ext_temperature_datetime': '2026-01-13T06:04:57.174475+01:00', 'is_device_active': True, 'device_actives': ['switch.flush_1_relay_4'], 'nb_device_actives': 1, 'ema_temp': 15.95, 'temperature_slope': 0.02, 'hvac_off_reason': None, 'total_energy': 0, 'last_change_time_from_vtherm': '2026-01-13T06:00:00.011591+01:00', 'messages': [], 'is_sleeping': False, 'is_locked': False, 'is_recalculate_scheduled': False}, 'configuration': {'ac_mode': False, 'type': 'over_switch', 'is_controlled_by_central_mode': False, 'target_temperature_step': 0.1, 'minimal_activation_delay_sec': 10, 'minimal_deactivation_delay_sec': 0, 'timezone': 'Europe/Paris', 'temperature_unit': <UnitOfTemperature.CELSIUS: '°C'>, 'is_used_by_central_boiler': False, 'max_on_percent': None, 'have_valve_regulation': False, 'cycle_min': 5.0}, 'preset_temperatures': {'frost_temp': 10.0, 'eco_temp': 13.0, 'boost_temp': 22.0, 'comfort_temp': 13.0, 'frost_away_temp': 0, 'eco_away_temp': 0, 'boost_away_temp': 0, 'comfort_away_temp': 0}, 'current_state': {'hvac_mode': 'heat', 'target_temperature': 13.0, 'preset': 'comfort'}, 'requested_state': {'hvac_mode': 'heat', 'target_temperature': 13.0, 'preset': 'comfort'}, 'is_presence_configured': False, 'is_power_configured': False, 'power_manager': {'device_power': 1.0, 'mean_cycle_power': 0.0}, 'is_motion_configured': False, 'is_window_configured': True, 'is_window_auto_configured': False, 'window_manager': {'window_state': 'off', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': 'binary_sensor.grande_fenetre_ch_loona_contact', 'window_delay_sec': 180, 'window_off_delay_sec': 30, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None}, 'is_safety_configured': True, 'safety_manager': {'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1}, 'is_lock_configured': True, 'lock_manager': {'is_locked': False, 'lock_users': True, 'lock_automations': True, 'lock_code': False}, 'is_over_switch': True, 'on_percent': 0, 'power_percent': 0, 'vtherm_over_switch': {'is_inversed': False, 'keep_alive_sec': 0, 'underlying_entities': ['switch.flush_1_relay_4'], 'on_percent': 0, 'power_percent': 0, 'on_time_sec': 0, 'off_time_sec': 300, 'function': 'tpi', 'tpi_coef_int': 0.4, 'tpi_coef_ext': 0.01, 'tpi_threshold_low': 0.0, 'tpi_threshold_high': 0.0, 'minimal_activation_delay': 10, 'minimal_deactivation_delay': 0, 'calculated_on_percent': 0, 'vswitch_on_commands': [], 'vswitch_off_commands': []}}
2026-01-13 06:29:15.134 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_switch]
2026-01-13 06:29:15.135 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_switch] --------------------> NEW EVENT: VersatileThermostat-Thermostat Ch Loona - Underlying switch state changed from on to off --------------------------------------------------------------
2026-01-13 06:29:15.135 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_switch] VersatileThermostat-Thermostat Ch Loona - Calling update_custom_attributes: {'hvac_action': <HVACAction.IDLE: 'idle'>, 'hvac_mode': <HVACMode.HEAT: 'heat'>, 'preset_mode': 'comfort', 'ema_temp': 15.95, 'specific_states': {'is_on': True, 'last_central_mode': None, 'last_update_datetime': '2026-01-13T06:29:15.135319+01:00', 'ext_current_temperature': 5.8, 'last_temperature_datetime': '2026-01-13T06:06:53.241238+01:00', 'last_ext_temperature_datetime': '2026-01-13T06:04:57.174475+01:00', 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 15.95, 'temperature_slope': 0.02, 'hvac_off_reason': None, 'total_energy': 0, 'last_change_time_from_vtherm': '2026-01-13T06:00:00.011591+01:00', 'messages': [], 'is_sleeping': False, 'is_locked': False, 'is_recalculate_scheduled': False}, 'configuration': {'ac_mode': False, 'type': 'over_switch', 'is_controlled_by_central_mode': False, 'target_temperature_step': 0.1, 'minimal_activation_delay_sec': 10, 'minimal_deactivation_delay_sec': 0, 'timezone': 'Europe/Paris', 'temperature_unit': <UnitOfTemperature.CELSIUS: '°C'>, 'is_used_by_central_boiler': False, 'max_on_percent': None, 'have_valve_regulation': False, 'cycle_min': 5.0}, 'preset_temperatures': {'frost_temp': 10.0, 'eco_temp': 13.0, 'boost_temp': 22.0, 'comfort_temp': 13.0, 'frost_away_temp': 0, 'eco_away_temp': 0, 'boost_away_temp': 0, 'comfort_away_temp': 0}, 'current_state': {'hvac_mode': 'heat', 'target_temperature': 13.0, 'preset': 'comfort'}, 'requested_state': {'hvac_mode': 'heat', 'target_temperature': 13.0, 'preset': 'comfort'}, 'is_presence_configured': False, 'is_power_configured': False, 'power_manager': {'device_power': 1.0, 'mean_cycle_power': 0.0}, 'is_motion_configured': False, 'is_window_configured': True, 'is_window_auto_configured': False, 'window_manager': {'window_state': 'off', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': 'binary_sensor.grande_fenetre_ch_loona_contact', 'window_delay_sec': 180, 'window_off_delay_sec': 30, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None}, 'is_safety_configured': True, 'safety_manager': {'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1}, 'is_lock_configured': True, 'lock_manager': {'is_locked': False, 'lock_users': True, 'lock_automations': True, 'lock_code': False}, 'is_over_switch': True, 'on_percent': 0, 'power_percent': 0, 'vtherm_over_switch': {'is_inversed': False, 'keep_alive_sec': 0, 'underlying_entities': ['switch.flush_1_relay_4'], 'on_percent': 0, 'power_percent': 0, 'on_time_sec': 0, 'off_time_sec': 300, 'function': 'tpi', 'tpi_coef_int': 0.4, 'tpi_coef_ext': 0.01, 'tpi_threshold_low': 0.0, 'tpi_threshold_high': 0.0, 'minimal_activation_delay': 10, 'minimal_deactivation_delay': 0, 'calculated_on_percent': 0, 'vswitch_on_commands': [], 'vswitch_off_commands': []}}
2026-01-13 06:29:27.449 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat]