Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify "follow underlying changes" behavior - Transform 'Auto' hvac_mode to 'Heating' #903

Open
jmcollin78 opened this issue Feb 10, 2025 · 12 comments
Assignees
Labels
enhancement New feature or request P1 Priority 1

Comments

@jmcollin78
Copy link
Owner

Discussed in #901

Originally posted by mcornillon February 10, 2025
Hey !

So far so good, my installation works great, I've activated the "Follow underlying changes" option on my TRVs (TRVZB by the way).
I have one Vtherm per room, all "connected" to a central one that activates the boiler.

With the option "Follow underlying changes" activated, I have the following behavior :

  • if I rotate the knob on my TRVZB, I make a temperature modification (e.g. from 17 to 19°) which is reported to the corresponding Vtherm --> great ! that allows my children & wife to adjust temperature
  • but if they "click" / "push" the knob on the TRVZB (could even be accidental...), it activates the "AUTO" mode on the TRV which is then reported and applied to the corresponding VTherm... And we all know that the "AUTO" mode should not be used in VTherm...

--> Would it be possible to restrict / or configure / the items we want to "synchronize" from the TRV to the Vtherm ?
In my case, I would like to :

  • authorize manual temperature modifications from the TRV to the VTherm
  • if an "auto" mode is activated on the TRV, it is NOT synchronized to the Vtherm, and the Vtherm then sets the TRV back to "Heat" a few moment later, so that the "manual" user cannot activate the non-desired "TRV auto mode"

Please give your comments on this idea/feature ?

This could probably be achieved in the current situation with an automation that monitors if the TRV Auto mode gets activated, and makes the modification on the Vtherm so that it is set back on the TRV. But could be much cleaner if implemented directly in Vtherm, isn't it ?

@jmcollin78 jmcollin78 added enhancement New feature or request P1 Priority 1 labels Feb 10, 2025
@jmcollin78
Copy link
Owner Author

I will have a look if something is possible quickly.

@jmcollin78 jmcollin78 self-assigned this Feb 10, 2025
jmcollin78 pushed a commit that referenced this issue Feb 10, 2025
@jmcollin78
Copy link
Owner Author

jmcollin78 commented Feb 10, 2025

@mcornillon

Please try this and let me know if it ok for you: https://github.com/jmcollin78/versatile_thermostat/releases/tag/7.2.2.beta2

@mcornillon
Copy link

mcornillon commented Feb 10, 2025

@jmcollin78 : thank you, just tested it. Found some issues :
(Case 1) TRVZB set from heat to Auto :
——— OK: VTherm is not modified, and stays on Heat program
——— KO: but then the TRVZB still stays on Auto mode, the VTherm doesn’t reapply Heat mode, even if I wait more than the defined cycle time (3 min in my case). The target temp was below current temp, so there was no need to heat, will retry with a target > current temp

(Case 2) case with several underlyings: I have 2 TRVZB in the living room, under the same VTherm:
——— Both were on heat 14°, full synchro between them
——— On TRVZB #1, I click to switch to Auto : neither the Vtherm, nor the TRVZB#2 go on AUTO (OK), they both stay on Heat 14°
——— BUT Synchronization is lost between the 2 underlyings, because #1 is AUTO, and the other is Heat, which could lead to issues later
——— The Vtherm doesn’t reapply the Heat mode (same as first case)

Will retry immediately with target > current temp

@jmcollin78
Copy link
Owner Author

Yes you are right. I need to force Heat again on all underlying devices. I'm afraid it oculd generates loop. This is the main risk when doing some hacks like that. But I will try this to see.

@mcornillon
Copy link

New try with target > temp.

I have :

  • 18° as current temp
  • 19° as target in heat
  • 16° as target on the TRV when it switches to AUTO

I’’be tried same scenario as above, and same issue, Heat mode is not pushed back from VTherm to the underlying, as you confirmed

Another issue I’ve seen :
When in AUTO at 16° on the TRV, but Heat in the VTherm (as “auto” follow has been patched to Heat), the issue is that the target 16° is still synchronized, so the VTherm is now on Heat with a 16° target ! and then when I manually exit the AUTO mode on the TRV, the TRV goes back to <heat @19 on itself, and the VTherm follows the “new” 19° target…

I thin it is a tricky situation, we should need more time to think about this, you’re right, I’m afraid we’ll run into a lot of edge cases and loops. …

@doubledrat
Copy link

Salut JM,

Est-il possible que ce changement provoque une détection erronée des modifications de l'underlying ? Je ne pense pas que ça me soit arrivé avant, mais aujourd'hui, trois de mes vtherms ont signalé un changement de l'underlying et sont sortis du mode confort.

Hi JM

is it possible that this change can cause false detection of changes to underlying? I don't think I've had it before, but today I had 3 vtherms claim that the underlying had changed and dropped out of comfort mode -

Voici un exemple
here is one example

2025-02-13 16:00:00.019 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Set preset_mode: comfort force=False
2025-02-13 16:00:00.019 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - find preset temp: comfort
2025-02-13 16:00:00.019 INFO (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-climate.trv_bedroom_east - Set setpoint temperature to: 20.0
2025-02-13 16:00:00.019 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-climate.trv_bedroom_east - Last_sent_temperature is now: 20.0
2025-02-13 16:00:00.019 INFO (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-climate.trv_bedroom_west - Set setpoint temperature to: 20.0
2025-02-13 16:00:00.019 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-climate.trv_bedroom_west - Last_sent_temperature is now: 20.0
2025-02-13 16:00:00.019 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:00:00.019827+00:00
2025-02-13 16:00:00.019 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:00:00.019821+00:00 and last_change_from_vtherm is now: 2025-02-13 16:00:00.019827+00:00
2025-02-13 16:00:00.019 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - recalculate the open percent
2025-02-13 16:00:00.019 DEBUG (MainThread) [custom_components.versatile_thermostat.prop_algorithm] VT Bedroom - heating percent calculated for current_temp 17.1, ext_current_temp 3.8 and target_temp 20.0 is 1.00, on_time is 300 (sec), off_time is 0 (sec)
2025-02-13 16:00:00.020 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - recalculate all
2025-02-13 16:00:00.020 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'comfort', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:00:00.020061+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': True, 'device_actives': ['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_west_valve_opening_degree'], 'nb_device_actives': 2, 'ema_temp': 17.0, 'is_used_by_central_boiler': True, 'temperature_slope': 0.69, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:00:00.019827+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 1.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:00:00.020 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'comfort', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:00:00.020061+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': True, 'device_actives': ['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_west_valve_opening_degree'], 'nb_device_actives': 2, 'ema_temp': 17.0, 'is_used_by_central_boiler': True, 'temperature_slope': 0.69, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:00:00.019827+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 1.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 1, 'power_percent': 100, 'on_time_sec': 300, 'off_time_sec': 0, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 100, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:00:00.019937+00:00'}
2025-02-13 16:00:00.020 INFO (MainThread) [custom_components.versatile_thermostat.const] VersatileThermostat-VT Bedroom - Sending event EventType.PRESET_EVENT with data: {'preset': 'comfort'}
2025-02-13 16:00:00.020 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=comfort
2025-02-13 16:00:00.020 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is 0.690
2025-02-13 16:00:00.020 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:00:00.020 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-VT Bedroom - checking safety delta_temp=0.0 delta_ext_temp=0.0 mod_cond=True temp_cond=False climate_cond=True switch_cond=False
2025-02-13 16:00:00.020 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'comfort', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:00:00.020821+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': True, 'device_actives': ['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_west_valve_opening_degree'], 'nb_device_actives': 2, 'ema_temp': 17.0, 'is_used_by_central_boiler': True, 'temperature_slope': 0.69, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:00:00.019827+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 1.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:00:00.021 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'comfort', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:00:00.020821+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': True, 'device_actives': ['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_west_valve_opening_degree'], 'nb_device_actives': 2, 'ema_temp': 17.0, 'is_used_by_central_boiler': True, 'temperature_slope': 0.69, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:00:00.019827+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 1.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 1, 'power_percent': 100, 'on_time_sec': 300, 'off_time_sec': 0, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 100, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:00:00.019937+00:00'}
2025-02-13 16:00:00.021 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_auto_start_stop_manager] AutoStartStopManager-VT Bedroom - auto start/stop is disabled (or not configured)
2025-02-13 16:00:00.021 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:00:00.021237+00:00
2025-02-13 16:00:00.021 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:00:00.021233+00:00 and last_change_from_vtherm is now: 2025-02-13 16:00:00.021237+00:00
2025-02-13 16:00:00.021 INFO (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-number.trv_bedroom_east_valve_opening_degree - Setting valve ouverture percent to 100
2025-02-13 16:00:00.023 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-number.trv_bedroom_east_valve_opening_degree - valve regulation - I have sent offset_calibration=-1.8999999999999986 opening_degree=100 closing_degree=0.0
2025-02-13 16:00:00.023 INFO (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-number.trv_bedroom_west_valve_opening_degree - Setting valve ouverture percent to 100
2025-02-13 16:00:00.024 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-number.trv_bedroom_west_valve_opening_degree - valve regulation - I have sent offset_calibration=-1.5999999999999979 opening_degree=100 closing_degree=0.0
2025-02-13 16:00:57.752 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Temperature changed. Event.new_state is <state sensor.hue_motion_sensor_2_temperature=17.2; state_class=measurement, unit_of_measurement=Γö¼ΓûæC, device_class=temperature, friendly_name=Bedroom hue Temperature @ 2025-02-13T16:00:57.752121+00:00>
2025-02-13 16:00:57.752 DEBUG (MainThread) [custom_components.versatile_thermostat.ema] EMA-VT Bedroom - timestamp=2025-02-13 16:00:57.752121+00:00 alpha=0.50 measurement=17.20 current_ema=17.10 new_ema=17.10
2025-02-13 16:00:57.752 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - After setting _last_temperature_measure 2025-02-13 16:00:57.752121+00:00, state.last_changed.replace=2025-02-13 16:00:57.752121+00:00
2025-02-13 16:00:57.752 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is 0.620
2025-02-13 16:00:57.752 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:00:57.752 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - recalculate the open percent
2025-02-13 16:00:57.752 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - do not calculate TPI because regulation_period (0) is not exceeded
2025-02-13 16:00:57.753 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=comfort
2025-02-13 16:00:57.753 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is 0.620
2025-02-13 16:00:57.753 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:00:57.753 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-VT Bedroom - checking safety delta_temp=0.0 delta_ext_temp=1.0 mod_cond=True temp_cond=False climate_cond=True switch_cond=False
2025-02-13 16:00:57.753 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'comfort', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:00:57.752121+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:00:57.753283+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': True, 'device_actives': ['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_west_valve_opening_degree'], 'nb_device_actives': 2, 'ema_temp': 17.1, 'is_used_by_central_boiler': True, 'temperature_slope': 0.62, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:00:00.021237+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 1.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:00:57.753 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'comfort', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:00:57.752121+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:00:57.753283+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': True, 'device_actives': ['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_west_valve_opening_degree'], 'nb_device_actives': 2, 'ema_temp': 17.1, 'is_used_by_central_boiler': True, 'temperature_slope': 0.62, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:00:00.021237+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 1.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 1, 'power_percent': 100, 'on_time_sec': 300, 'off_time_sec': 0, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 100, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:00:00.019937+00:00'}
2025-02-13 16:00:57.754 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_auto_start_stop_manager] AutoStartStopManager-VT Bedroom - auto start/stop is disabled (or not configured)
2025-02-13 16:00:57.754 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:00:57.754095+00:00
2025-02-13 16:00:57.754 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:00:57.754047+00:00 and last_change_from_vtherm is now: 2025-02-13 16:00:57.754095+00:00
2025-02-13 16:01:15.852 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - _async_climate_changed new_state is <state climate.trv_bedroom_west=heat; hvac_modes=['off', 'auto', 'heat'], min_temp=4.0, max_temp=35.0, target_temp_step=0.5, current_temperature=18.7, temperature=20.0, hvac_action=idle, friendly_name=TRV Bedroom West, supported_features=385 @ 2025-02-12T20:02:22.969496+00:00>
2025-02-13 16:01:15.852 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - a underlying state change event is received but no real change have been found. Forget the event
2025-02-13 16:04:23.616 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=comfort
2025-02-13 16:04:23.616 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is 0.620
2025-02-13 16:04:23.616 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:04:23.616 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-VT Bedroom - checking safety delta_temp=3.4 delta_ext_temp=4.4 mod_cond=True temp_cond=False climate_cond=True switch_cond=False
2025-02-13 16:04:23.617 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': 'heat', 'preset_mode': 'comfort', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:00:57.752121+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:04:23.616777+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': True, 'device_actives': ['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_west_valve_opening_degree'], 'nb_device_actives': 2, 'ema_temp': 17.1, 'is_used_by_central_boiler': True, 'temperature_slope': 0.62, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:00:57.754095+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 1.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:04:23.617 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': 'heat', 'preset_mode': 'comfort', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:00:57.752121+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:04:23.616777+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': True, 'device_actives': ['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_west_valve_opening_degree'], 'nb_device_actives': 2, 'ema_temp': 17.1, 'is_used_by_central_boiler': True, 'temperature_slope': 0.62, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:00:57.754095+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 1.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 1, 'power_percent': 100, 'on_time_sec': 300, 'off_time_sec': 0, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 100, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:00:00.019937+00:00'}
2025-02-13 16:04:23.617 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_auto_start_stop_manager] AutoStartStopManager-VT Bedroom - auto start/stop is disabled (or not configured)
2025-02-13 16:04:23.617 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:04:23.617660+00:00
2025-02-13 16:04:23.617 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:04:23.617653+00:00 and last_change_from_vtherm is now: 2025-02-13 16:04:23.617660+00:00
2025-02-13 16:05:55.858 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Temperature changed. Event.new_state is <state sensor.hue_motion_sensor_2_temperature=17.0; state_class=measurement, unit_of_measurement=Γö¼ΓûæC, device_class=temperature, friendly_name=Bedroom hue Temperature @ 2025-02-13T16:05:55.857744+00:00>
2025-02-13 16:05:55.858 DEBUG (MainThread) [custom_components.versatile_thermostat.ema] EMA-VT Bedroom - timestamp=2025-02-13 16:05:55.857744+00:00 alpha=0.50 measurement=17.00 current_ema=17.05 new_ema=17.05
2025-02-13 16:05:55.858 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - After setting _last_temperature_measure 2025-02-13 16:05:55.857744+00:00, state.last_changed.replace=2025-02-13 16:05:55.857744+00:00
2025-02-13 16:05:55.858 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is -0.360
2025-02-13 16:05:55.858 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:05:55.858 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - recalculate the open percent
2025-02-13 16:05:55.858 DEBUG (MainThread) [custom_components.versatile_thermostat.prop_algorithm] VT Bedroom - heating percent calculated for current_temp 17.0, ext_current_temp 3.8 and target_temp 20.0 is 1.00, on_time is 300 (sec), off_time is 0 (sec)
2025-02-13 16:05:55.858 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - do not calculate TPI because regulation_dpercent (0.0) is not exceeded
2025-02-13 16:05:55.858 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=comfort
2025-02-13 16:05:55.858 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is -0.360
2025-02-13 16:05:55.858 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:05:55.858 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-VT Bedroom - checking safety delta_temp=0.0 delta_ext_temp=5.9 mod_cond=True temp_cond=False climate_cond=True switch_cond=False
2025-02-13 16:05:55.859 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': 'heat', 'preset_mode': 'comfort', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:05:55.857744+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:05:55.858992+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': True, 'device_actives': ['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_west_valve_opening_degree'], 'nb_device_actives': 2, 'ema_temp': 17.05, 'is_used_by_central_boiler': True, 'temperature_slope': -0.36, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:04:23.617660+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 1.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:05:55.859 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': 'heat', 'preset_mode': 'comfort', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:05:55.857744+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:05:55.858992+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': True, 'device_actives': ['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_west_valve_opening_degree'], 'nb_device_actives': 2, 'ema_temp': 17.05, 'is_used_by_central_boiler': True, 'temperature_slope': -0.36, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:04:23.617660+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 1.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 1, 'power_percent': 100, 'on_time_sec': 300, 'off_time_sec': 0, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 100, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:00:00.019937+00:00'}
2025-02-13 16:05:55.859 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_auto_start_stop_manager] AutoStartStopManager-VT Bedroom - auto start/stop is disabled (or not configured)
2025-02-13 16:05:55.859 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:05:55.859757+00:00
2025-02-13 16:05:55.859 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:05:55.859750+00:00 and last_change_from_vtherm is now: 2025-02-13 16:05:55.859757+00:00
2025-02-13 16:07:15.752 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - _async_climate_changed new_state is <state climate.trv_bedroom_east=heat; hvac_modes=['off', 'auto', 'heat'], min_temp=4.0, max_temp=35.0, target_temp_step=0.5, current_temperature=17.2, temperature=16.0, hvac_action=idle, friendly_name=TRV Bedroom East, supported_features=385 @ 2025-02-12T20:02:19.967354+00:00>
2025-02-13 16:07:15.753 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Underlying climate climate.trv_bedroom_east have changed. new_hvac_mode is heat (vs heat), new_hvac_action=idle (vs idle), new_target_temp=16.0 (vs 20.0), new_fan_mode=None (vs None)
2025-02-13 16:07:15.753 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - last_change_time=2025-02-13 16:05:55.859757+00:00 old_state_date_changed=2025-02-12 20:02:19.967354+00:00 old_state_date_updated=2025-02-13 14:09:49.520677+00:00 new_state_date_changed=2025-02-12 20:02:19.967354+00:00 new_state_date_updated=2025-02-13 16:07:15.752434+00:00
2025-02-13 16:07:15.753 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Do temperature check. under.last_sent_temperature is 20.0, new_target_temp is 16.0
2025-02-13 16:07:15.753 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Target temp in underlying have change to 16.0 (vs 20.0)
2025-02-13 16:07:15.753 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Set target temp: 16.0
2025-02-13 16:07:15.753 INFO (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-climate.trv_bedroom_east - Set setpoint temperature to: 16.0
2025-02-13 16:07:15.754 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-climate.trv_bedroom_east - Last_sent_temperature is now: 16.0
2025-02-13 16:07:15.755 INFO (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-climate.trv_bedroom_west - Set setpoint temperature to: 16.0
2025-02-13 16:07:15.755 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-climate.trv_bedroom_west - Last_sent_temperature is now: 16.0
2025-02-13 16:07:15.755 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:07:15.755599+00:00
2025-02-13 16:07:15.755 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:07:15.755589+00:00 and last_change_from_vtherm is now: 2025-02-13 16:07:15.755599+00:00
2025-02-13 16:07:15.755 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - recalculate the open percent
2025-02-13 16:07:15.755 DEBUG (MainThread) [custom_components.versatile_thermostat.prop_algorithm] VT Bedroom - heating percent calculated for current_temp 17.0, ext_current_temp 3.8 and target_temp 16.0 is 0.00, on_time is 0 (sec), off_time is 300 (sec)
2025-02-13 16:07:15.755 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - recalculate all
2025-02-13 16:07:15.756 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:05:55.857744+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:07:15.755956+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 17.05, 'is_used_by_central_boiler': True, 'temperature_slope': -0.36, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:07:15.755599+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:07:15.756 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:05:55.857744+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:07:15.755956+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 17.05, 'is_used_by_central_boiler': True, 'temperature_slope': -0.36, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:07:15.755599+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 0, 'power_percent': 0, 'on_time_sec': 0, 'off_time_sec': 300, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 0, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:07:15.755766+00:00'}
2025-02-13 16:07:15.756 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:07:15.756766+00:00
2025-02-13 16:07:15.756 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=none
2025-02-13 16:07:15.756 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is -0.360
2025-02-13 16:07:15.756 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:07:15.756 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-VT Bedroom - checking safety delta_temp=1.3 delta_ext_temp=7.3 mod_cond=True temp_cond=False climate_cond=True switch_cond=False
2025-02-13 16:07:15.757 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:05:55.857744+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:07:15.757059+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 17.05, 'is_used_by_central_boiler': True, 'temperature_slope': -0.36, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:07:15.756766+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:07:15.757 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:05:55.857744+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:07:15.757059+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 17.05, 'is_used_by_central_boiler': True, 'temperature_slope': -0.36, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:07:15.756766+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 0, 'power_percent': 0, 'on_time_sec': 0, 'off_time_sec': 300, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 0, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:07:15.755766+00:00'}
2025-02-13 16:07:15.757 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_auto_start_stop_manager] AutoStartStopManager-VT Bedroom - auto start/stop is disabled (or not configured)
2025-02-13 16:07:15.757 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:07:15.757639+00:00
2025-02-13 16:07:15.757 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:07:15.757634+00:00 and last_change_from_vtherm is now: 2025-02-13 16:07:15.757639+00:00
2025-02-13 16:07:15.757 INFO (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-number.trv_bedroom_east_valve_opening_degree - Setting valve ouverture percent to 0
2025-02-13 16:07:15.762 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-number.trv_bedroom_east_valve_opening_degree - valve regulation - I have sent offset_calibration=-0.1999999999999993 opening_degree=0 closing_degree=99.0
2025-02-13 16:07:15.762 INFO (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-number.trv_bedroom_west_valve_opening_degree - Setting valve ouverture percent to 0
2025-02-13 16:07:15.763 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VT Bedroom-number.trv_bedroom_west_valve_opening_degree - valve regulation - I have sent offset_calibration=-3.3000000000000007 opening_degree=0 closing_degree=99.0
2025-02-13 16:07:15.763 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:05:55.857744+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:07:15.763414+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 17.05, 'is_used_by_central_boiler': True, 'temperature_slope': -0.36, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:07:15.757639+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:07:15.763 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:05:55.857744+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:07:15.763414+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 17.05, 'is_used_by_central_boiler': True, 'temperature_slope': -0.36, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:07:15.757639+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 0, 'power_percent': 0, 'on_time_sec': 0, 'off_time_sec': 300, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 0, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:07:15.755766+00:00'}
2025-02-13 16:07:15.764 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=none
2025-02-13 16:07:15.764 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is -0.360
2025-02-13 16:07:15.764 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:07:15.764 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-VT Bedroom - checking safety delta_temp=1.3 delta_ext_temp=7.3 mod_cond=True temp_cond=False climate_cond=True switch_cond=False
2025-02-13 16:07:15.764 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:05:55.857744+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:07:15.764247+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 17.05, 'is_used_by_central_boiler': True, 'temperature_slope': -0.36, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:07:15.757639+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:07:15.764 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:05:55.857744+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:07:15.764247+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 17.05, 'is_used_by_central_boiler': True, 'temperature_slope': -0.36, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:07:15.757639+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 0, 'power_percent': 0, 'on_time_sec': 0, 'off_time_sec': 300, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 0, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:07:15.755766+00:00'}
2025-02-13 16:07:15.764 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_auto_start_stop_manager] AutoStartStopManager-VT Bedroom - auto start/stop is disabled (or not configured)
2025-02-13 16:07:15.764 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:07:15.764707+00:00
2025-02-13 16:07:15.764 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:07:15.764702+00:00 and last_change_from_vtherm is now: 2025-02-13 16:07:15.764707+00:00
2025-02-13 16:07:17.008 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - _async_climate_changed new_state is <state climate.trv_bedroom_west=heat; hvac_modes=['off', 'auto', 'heat'], min_temp=4.0, max_temp=35.0, target_temp_step=0.5, current_temperature=18.7, temperature=16.0, hvac_action=idle, friendly_name=TRV Bedroom West, supported_features=385 @ 2025-02-12T20:02:22.969496+00:00>
2025-02-13 16:07:17.008 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - a underlying state change event is received but no real change have been found. Forget the event
2025-02-13 16:07:18.966 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - _async_climate_changed new_state is <state climate.trv_bedroom_east=heat; hvac_modes=['off', 'auto', 'heat'], min_temp=4.0, max_temp=35.0, target_temp_step=0.5, current_temperature=17.5, temperature=16.0, hvac_action=idle, friendly_name=TRV Bedroom East, supported_features=385 @ 2025-02-12T20:02:19.967354+00:00>
2025-02-13 16:07:18.966 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - a underlying state change event is received but no real change have been found. Forget the event
2025-02-13 16:07:19.437 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - _async_climate_changed new_state is <state climate.trv_bedroom_west=heat; hvac_modes=['off', 'auto', 'heat'], min_temp=4.0, max_temp=35.0, target_temp_step=0.5, current_temperature=17.6, temperature=16.0, hvac_action=idle, friendly_name=TRV Bedroom West, supported_features=385 @ 2025-02-12T20:02:22.969496+00:00>
2025-02-13 16:07:19.437 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - a underlying state change event is received but no real change have been found. Forget the event
2025-02-13 16:07:19.474 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - _async_climate_changed new_state is <state climate.trv_bedroom_east=heat; hvac_modes=['off', 'auto', 'heat'], min_temp=4.0, max_temp=35.0, target_temp_step=0.5, current_temperature=19.0, temperature=16.0, hvac_action=idle, friendly_name=TRV Bedroom East, supported_features=385 @ 2025-02-12T20:02:19.967354+00:00>
2025-02-13 16:07:19.474 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - a underlying state change event is received but no real change have been found. Forget the event
2025-02-13 16:07:22.186 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - _async_climate_changed new_state is <state climate.trv_bedroom_west=heat; hvac_modes=['off', 'auto', 'heat'], min_temp=4.0, max_temp=35.0, target_temp_step=0.5, current_temperature=15.7, temperature=16.0, hvac_action=idle, friendly_name=TRV Bedroom West, supported_features=385 @ 2025-02-12T20:02:22.969496+00:00>
2025-02-13 16:07:22.186 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - a underlying state change event is received but no real change have been found. Forget the event
2025-02-13 16:09:23.617 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=none
2025-02-13 16:09:23.617 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is -0.360
2025-02-13 16:09:23.617 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:09:23.617 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-VT Bedroom - checking safety delta_temp=3.5 delta_ext_temp=9.4 mod_cond=True temp_cond=False climate_cond=True switch_cond=False
2025-02-13 16:09:23.618 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:05:55.857744+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:09:23.617703+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 17.05, 'is_used_by_central_boiler': True, 'temperature_slope': -0.36, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:07:15.764707+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:09:23.618 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:05:55.857744+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:09:23.617703+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 17.05, 'is_used_by_central_boiler': True, 'temperature_slope': -0.36, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:07:15.764707+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 0, 'power_percent': 0, 'on_time_sec': 0, 'off_time_sec': 300, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 0, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:07:15.755766+00:00'}
2025-02-13 16:09:23.618 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_auto_start_stop_manager] AutoStartStopManager-VT Bedroom - auto start/stop is disabled (or not configured)
2025-02-13 16:09:23.618 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:09:23.618956+00:00
2025-02-13 16:09:23.619 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:09:23.618947+00:00 and last_change_from_vtherm is now: 2025-02-13 16:09:23.618956+00:00
2025-02-13 16:12:04.385 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - _async_climate_changed new_state is <state climate.trv_bedroom_west=heat; hvac_modes=['off', 'auto', 'heat'], min_temp=4.0, max_temp=35.0, target_temp_step=0.5, current_temperature=16.2, temperature=16.0, hvac_action=idle, friendly_name=TRV Bedroom West, supported_features=385 @ 2025-02-12T20:02:22.969496+00:00>
2025-02-13 16:12:04.385 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - a underlying state change event is received but no real change have been found. Forget the event
2025-02-13 16:12:55.087 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - _async_climate_changed new_state is <state climate.trv_bedroom_east=heat; hvac_modes=['off', 'auto', 'heat'], min_temp=4.0, max_temp=35.0, target_temp_step=0.5, current_temperature=19.5, temperature=16.0, hvac_action=idle, friendly_name=TRV Bedroom East, supported_features=385 @ 2025-02-12T20:02:19.967354+00:00>
2025-02-13 16:12:55.087 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - a underlying state change event is received but no real change have been found. Forget the event
2025-02-13 16:14:23.617 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=none
2025-02-13 16:14:23.617 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is -0.360
2025-02-13 16:14:23.617 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:14:23.617 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-VT Bedroom - checking safety delta_temp=8.5 delta_ext_temp=14.4 mod_cond=True temp_cond=False climate_cond=True switch_cond=False
2025-02-13 16:14:23.618 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:05:55.857744+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:14:23.617994+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 17.05, 'is_used_by_central_boiler': True, 'temperature_slope': -0.36, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:09:23.618956+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:14:23.618 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:05:55.857744+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:14:23.617994+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 17.05, 'is_used_by_central_boiler': True, 'temperature_slope': -0.36, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:09:23.618956+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 0, 'power_percent': 0, 'on_time_sec': 0, 'off_time_sec': 300, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 0, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:07:15.755766+00:00'}
2025-02-13 16:14:23.619 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_auto_start_stop_manager] AutoStartStopManager-VT Bedroom - auto start/stop is disabled (or not configured)
2025-02-13 16:14:23.619 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:14:23.619131+00:00
2025-02-13 16:14:23.619 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:14:23.619123+00:00 and last_change_from_vtherm is now: 2025-02-13 16:14:23.619131+00:00
2025-02-13 16:15:52.829 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Temperature changed. Event.new_state is <state sensor.hue_motion_sensor_2_temperature=16.9; state_class=measurement, unit_of_measurement=Γö¼ΓûæC, device_class=temperature, friendly_name=Bedroom hue Temperature @ 2025-02-13T16:15:52.829079+00:00>
2025-02-13 16:15:52.829 DEBUG (MainThread) [custom_components.versatile_thermostat.ema] EMA-VT Bedroom - timestamp=2025-02-13 16:15:52.829079+00:00 alpha=0.50 measurement=16.90 current_ema=16.98 new_ema=16.98
2025-02-13 16:15:52.829 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - After setting _last_temperature_measure 2025-02-13 16:15:52.829079+00:00, state.last_changed.replace=2025-02-13 16:15:52.829079+00:00
2025-02-13 16:15:52.829 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is -0.410
2025-02-13 16:15:52.829 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:15:52.829 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - recalculate the open percent
2025-02-13 16:15:52.830 DEBUG (MainThread) [custom_components.versatile_thermostat.prop_algorithm] VT Bedroom - heating percent calculated for current_temp 16.9, ext_current_temp 3.8 and target_temp 16.0 is 0.00, on_time is 0 (sec), off_time is 300 (sec)
2025-02-13 16:15:52.830 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - no change in valve_open_percent.
2025-02-13 16:15:52.830 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=none
2025-02-13 16:15:52.830 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is -0.410
2025-02-13 16:15:52.830 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:15:52.830 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-VT Bedroom - checking safety delta_temp=0.0 delta_ext_temp=15.9 mod_cond=True temp_cond=False climate_cond=True switch_cond=False
2025-02-13 16:15:52.830 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:15:52.829079+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:15:52.830446+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 16.98, 'is_used_by_central_boiler': True, 'temperature_slope': -0.41, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:14:23.619131+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:15:52.831 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:15:52.829079+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:15:52.830446+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 16.98, 'is_used_by_central_boiler': True, 'temperature_slope': -0.41, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:14:23.619131+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 0, 'power_percent': 0, 'on_time_sec': 0, 'off_time_sec': 300, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 0, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:07:15.755766+00:00'}
2025-02-13 16:15:52.831 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_auto_start_stop_manager] AutoStartStopManager-VT Bedroom - auto start/stop is disabled (or not configured)
2025-02-13 16:15:52.831 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:15:52.831410+00:00
2025-02-13 16:15:52.831 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:15:52.831402+00:00 and last_change_from_vtherm is now: 2025-02-13 16:15:52.831410+00:00
2025-02-13 16:16:02.019 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Temperature changed. Event.new_state is <state sensor.hue_motion_sensor_2_temperature=17.3; state_class=measurement, unit_of_measurement=Γö¼ΓûæC, device_class=temperature, friendly_name=Bedroom hue Temperature @ 2025-02-13T16:16:02.018996+00:00>
2025-02-13 16:16:02.019 DEBUG (MainThread) [custom_components.versatile_thermostat.ema] EMA-VT Bedroom - timestamp=2025-02-13 16:16:02.018996+00:00 alpha=0.02 measurement=17.30 current_ema=16.98 new_ema=16.98
2025-02-13 16:16:02.019 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - After setting _last_temperature_measure 2025-02-13 16:16:02.018996+00:00, state.last_changed.replace=2025-02-13 16:16:02.018996+00:00
2025-02-13 16:16:02.019 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is -0.080
2025-02-13 16:16:02.019 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:16:02.019 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - recalculate the open percent
2025-02-13 16:16:02.020 DEBUG (MainThread) [custom_components.versatile_thermostat.prop_algorithm] VT Bedroom - heating percent calculated for current_temp 17.3, ext_current_temp 3.8 and target_temp 16.0 is 0.00, on_time is 0 (sec), off_time is 300 (sec)
2025-02-13 16:16:02.020 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - no change in valve_open_percent.
2025-02-13 16:16:02.020 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=none
2025-02-13 16:16:02.020 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is -0.080
2025-02-13 16:16:02.020 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:16:02.020 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-VT Bedroom - checking safety delta_temp=0.0 delta_ext_temp=16.0 mod_cond=True temp_cond=False climate_cond=True switch_cond=False
2025-02-13 16:16:02.020 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:16:02.018996+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:16:02.020336+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 16.98, 'is_used_by_central_boiler': True, 'temperature_slope': -0.08, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:15:52.831410+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:16:02.021 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:16:02.018996+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:16:02.020336+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 16.98, 'is_used_by_central_boiler': True, 'temperature_slope': -0.08, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:15:52.831410+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 0, 'power_percent': 0, 'on_time_sec': 0, 'off_time_sec': 300, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 0, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:07:15.755766+00:00'}
2025-02-13 16:16:02.021 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_auto_start_stop_manager] AutoStartStopManager-VT Bedroom - auto start/stop is disabled (or not configured)
2025-02-13 16:16:02.021 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:16:02.021281+00:00
2025-02-13 16:16:02.021 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:16:02.021275+00:00 and last_change_from_vtherm is now: 2025-02-13 16:16:02.021281+00:00
2025-02-13 16:19:23.618 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=none
2025-02-13 16:19:23.619 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is -0.080
2025-02-13 16:19:23.619 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:19:23.619 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-VT Bedroom - checking safety delta_temp=3.4 delta_ext_temp=19.4 mod_cond=True temp_cond=False climate_cond=True switch_cond=False
2025-02-13 16:19:23.619 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:16:02.018996+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:19:23.619341+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 16.98, 'is_used_by_central_boiler': True, 'temperature_slope': -0.08, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:16:02.021281+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:19:23.620 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:16:02.018996+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:19:23.619341+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 16.98, 'is_used_by_central_boiler': True, 'temperature_slope': -0.08, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:16:02.021281+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 0, 'power_percent': 0, 'on_time_sec': 0, 'off_time_sec': 300, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 0, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:07:15.755766+00:00'}
2025-02-13 16:19:23.620 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_auto_start_stop_manager] AutoStartStopManager-VT Bedroom - auto start/stop is disabled (or not configured)
2025-02-13 16:19:23.620 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:19:23.620399+00:00
2025-02-13 16:19:23.620 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:19:23.620392+00:00 and last_change_from_vtherm is now: 2025-02-13 16:19:23.620399+00:00
2025-02-13 16:24:23.619 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=none
2025-02-13 16:24:23.619 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is -0.080
2025-02-13 16:24:23.619 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:24:23.619 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-VT Bedroom - checking safety delta_temp=8.4 delta_ext_temp=24.4 mod_cond=True temp_cond=False climate_cond=True switch_cond=False
2025-02-13 16:24:23.620 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:16:02.018996+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:24:23.619843+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 16.98, 'is_used_by_central_boiler': True, 'temperature_slope': -0.08, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:19:23.620399+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:24:23.620 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:16:02.018996+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:24:23.619843+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 16.98, 'is_used_by_central_boiler': True, 'temperature_slope': -0.08, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:19:23.620399+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 0, 'power_percent': 0, 'on_time_sec': 0, 'off_time_sec': 300, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 0, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:07:15.755766+00:00'}
2025-02-13 16:24:23.620 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_auto_start_stop_manager] AutoStartStopManager-VT Bedroom - auto start/stop is disabled (or not configured)
2025-02-13 16:24:23.620 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:24:23.620935+00:00
2025-02-13 16:24:23.620 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:24:23.620928+00:00 and last_change_from_vtherm is now: 2025-02-13 16:24:23.620935+00:00
2025-02-13 16:25:48.416 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Temperature changed. Event.new_state is <state sensor.hue_motion_sensor_2_temperature=17.5; state_class=measurement, unit_of_measurement=Γö¼ΓûæC, device_class=temperature, friendly_name=Bedroom hue Temperature @ 2025-02-13T16:25:48.415856+00:00>
2025-02-13 16:25:48.416 DEBUG (MainThread) [custom_components.versatile_thermostat.ema] EMA-VT Bedroom - timestamp=2025-02-13 16:25:48.415856+00:00 alpha=0.50 measurement=17.50 current_ema=17.24 new_ema=17.24
2025-02-13 16:25:48.416 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - After setting _last_temperature_measure 2025-02-13 16:25:48.415856+00:00, state.last_changed.replace=2025-02-13 16:25:48.415856+00:00
2025-02-13 16:25:48.416 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is 1.260
2025-02-13 16:25:48.416 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:25:48.416 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - recalculate the open percent
2025-02-13 16:25:48.416 DEBUG (MainThread) [custom_components.versatile_thermostat.prop_algorithm] VT Bedroom - heating percent calculated for current_temp 17.5, ext_current_temp 3.8 and target_temp 16.0 is 0.00, on_time is 0 (sec), off_time is 300 (sec)
2025-02-13 16:25:48.416 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - no change in valve_open_percent.
2025-02-13 16:25:48.416 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=none
2025-02-13 16:25:48.416 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto is on, check the alert. last slope is 1.260
2025-02-13 16:25:48.417 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-VT Bedroom - Window auto event is ignored because bypass is ON or window auto detection is disabled
2025-02-13 16:25:48.417 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-VT Bedroom - checking safety delta_temp=0.0 delta_ext_temp=25.8 mod_cond=True temp_cond=False climate_cond=True switch_cond=False
2025-02-13 16:25:48.417 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:25:48.415856+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:25:48.417185+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 17.24, 'is_used_by_central_boiler': True, 'temperature_slope': 1.26, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:24:23.620935+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True}
2025-02-13 16:25:48.417 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.OFF: 'off'>, 'hvac_mode': 'heat', 'preset_mode': 'none', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 12.0, 'eco_temp': 16.0, 'boost_temp': 22.0, 'comfort_temp': 20.0, 'frost_away_temp': 12.0, 'eco_away_temp': 12.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 12.0, 'target_temperature_step': 0.1, 'ext_current_temperature': 3.8, 'ac_mode': False, 'saved_preset_mode': 'comfort', 'saved_target_temp': 16.0, 'saved_hvac_mode': None, 'last_temperature_datetime': '2025-02-13T16:25:48.415856+00:00', 'last_ext_temperature_datetime': '2025-02-13T16:00:00.019905+00:00', 'minimal_activation_delay_sec': 10, 'total_energy': 48.85, 'last_update_datetime': '2025-02-13T16:25:48.417185+00:00', 'timezone': 'Europe/London', 'temperature_unit': <UnitOfTemperature.CELSIUS: 'Γö¼ΓûæC'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 17.24, 'is_used_by_central_boiler': True, 'temperature_slope': 1.26, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': True, 'last_change_time_from_vtherm': '2025-02-13T16:24:23.620935+00:00', 'presence_sensor_entity_id': 'binary_sensor.arcadia_presence', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'overpowering_state': 'unavailable', 'is_power_configured': False, 'device_power': 1.0, 'power_temp': None, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 0.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'unavailable', 'window_auto_state': 'unavailable', 'window_action': 'window_turn_off', 'is_window_bypass': False, 'window_sensor_entity_id': None, 'window_delay_sec': None, 'window_off_delay_sec': None, 'is_window_configured': False, 'is_window_auto_configured': False, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_auto_start_stop_configured': False, 'is_over_climate': True, 'start_hvac_action_date': None, 'underlying_entities': ['climate.trv_bedroom_east', 'climate.trv_bedroom_west'], 'is_regulated': True, 'regulated_target_temperature': None, 'auto_regulation_mode': 'auto_regulation_valve', 'regulation_accumulated_error': 0, 'auto_fan_mode': 'auto_fan_none', 'current_auto_fan_mode': 'auto_fan_none', 'auto_activated_fan_mode': None, 'auto_deactivated_fan_mode': None, 'auto_regulation_use_device_temp': False, 'follow_underlying_temp_change': True, 'underlyings_valve_regulation': [['number.trv_bedroom_east_valve_opening_degree', 'number.trv_bedroom_east_valve_closing_degree', 'number.trv_bedroom_east_local_temperature_calibration'], ['number.trv_bedroom_west_valve_opening_degree', 'number.trv_bedroom_west_valve_closing_degree', 'number.trv_bedroom_west_local_temperature_calibration']], 'on_percent': 0, 'power_percent': 0, 'on_time_sec': 0, 'off_time_sec': 300, 'cycle_min': 5, 'function': 'tpi', 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.005, 'min_opening_degrees': '', 'valve_open_percent': 0, 'auto_regulation_dpercent': 5.0, 'auto_regulation_period_min': 5, 'last_calculation_timestamp': '2025-02-13T16:07:15.755766+00:00'}
2025-02-13 16:25:48.418 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_auto_start_stop_manager] AutoStartStopManager-VT Bedroom - auto start/stop is disabled (or not configured)
2025-02-13 16:25:48.418 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VT Bedroom - last_change_time is now 2025-02-13 16:25:48.418170+00:00
2025-02-13 16:25:48.418 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_climate_valve] VersatileThermostat-VT Bedroom - last_regulation_change is now: 2025-02-13 16:25:48.418163+00:00 and last_change_from_vtherm is now: 2025-02-13 16:25:48.418170+00:00

@doubledrat
Copy link

would it not be safer to use an automation to detect the trv going to auto and change it back to heat?

@jmcollin78
Copy link
Owner Author

Hello @doubledrat ,

Did you install the beta 2 ?

would it not be safer to use an automation to detect the trv going to auto and change it back to heat?

I'm confident, I will find a solution. You will have to wait this week-end.

@doubledrat
Copy link

doubledrat commented Feb 13, 2025 via email

@jmcollin78
Copy link
Owner Author

Beta3 don't have the code of beta2 😉

@doubledrat
Copy link

doubledrat commented Feb 13, 2025 via email

@jmcollin78
Copy link
Owner Author

You have the commit of the beta2 here :

d4a719a

Only a change to avoid setting the Auto hvac_mode.

Image

I don't see any "phantom" changes, but only the calculation of closing degree. Have you some to share with me ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P1 Priority 1
Projects
None yet
Development

No branches or pull requests

3 participants