Skip to content

Window open temperature isn't fully synced with window open detection #1062

@moon-phoenix42

Description

@moon-phoenix42

Read this carefully

Please read carefully this instructions and fill this form before writing an issue. It helps me to help you.
If you choose to not follow this template, you accept to have no answer from the author. The tag on the issue 'Template not respected' means you don't respect this template. Potentially, you will not have a relevant answer.

Version of the custom_component

7.3.2

Configuration

My VTherm attributes are the following:

hvac_modes: heat, off
min_temp: 8
max_temp: 25
target_temp_step: 0.1
preset_modes: none, frost, eco, comfort, boost, activity
current_temperature: 20.5
temperature: 21
hvac_action: heating
preset_mode: activity
is_on: true
hvac_mode: heat
type: null
is_controlled_by_central_mode: false
last_central_mode: null
frost_temp: 8
eco_temp: 19.5
boost_temp: 23
comfort_temp: 21
frost_away_temp: 8
eco_away_temp: 15
boost_away_temp: 21
comfort_away_temp: 19
target_temperature_step: 0.1
ext_current_temperature: 16.8
ac_mode: false
saved_target_temp: 21
saved_preset_mode: activity
saved_hvac_mode: heat
saved_preset_mod_central_modee: activity
saved_hvac_mode_central_mode: null
last_temperature_datetime: 2025-08-02T19:49:24.656540+02:00
last_ext_temperature_datetime: 2025-08-02T19:52:43.514539+02:00
minimal_activation_delay_sec: 10
minimal_deactivation_delay_sec: 0
total_energy: 0
last_update_datetime: 2025-08-02T19:59:36.863839+02:00
timezone: Europe/Berlin
temperature_unit: °C
is_device_active: true
device_actives: input_number.heizung_XXX_valve_helper
nb_device_actives: 1
ema_temp: 20.38
is_used_by_central_boiler: false
temperature_slope: 0.18
hvac_off_reason: null
max_on_percent: null
have_valve_regulation: false
last_change_time_from_vtherm: 2025-08-02T19:46:03.550594+02:00
presence_sensor_entity_id: person.XXX
presence_state: on
is_presence_configured: true
power_sensor_entity_id: null
max_power_sensor_entity_id: null
overpowering_state: unavailable
is_power_configured: false
device_power: 0
power_temp: null
current_power: null
current_max_power: null
mean_cycle_power: null
motion_sensor_entity_id: binary_sensor.XXX_occupancy
motion_state: on
is_motion_configured: true
motion_delay_sec: 10
motion_off_delay_sec: 300
motion_preset: comfort
no_motion_preset: eco
window_state: off
window_auto_state: unavailable
window_action: window_frost_temp
is_window_bypass: false
window_sensor_entity_id: binary_sensor.0x142d41fffe582f84_contact
window_delay_sec: 10
window_off_delay_sec: 30
is_window_configured: true
is_window_auto_configured: false
window_auto_open_threshold: null
window_auto_close_threshold: null
window_auto_max_duration: null
is_safety_configured: true
safety_state: off
safety_delay_min: 480
safety_min_on_percent: 0.5
safety_default_on_percent: 0.4
valve_open_percent: 67
is_over_valve: true
underlying_entities: input_number.heizung_XXX_valve_helper
on_percent: 0.67
on_time_sec: 40
off_time_sec: 19
cycle_min: 1
function: tpi
tpi_coef_int: 0.8
tpi_coef_ext: 0.064
auto_regulation_dpercent: 1
auto_regulation_period_min: 1
last_calculation_timestamp: 2025-08-02T19:52:43.670827+02:00
calculated_on_percent: 0.67
friendly_name: Vers Heizung XXX
supported_features: 401

If it is releveant to regulation performance or optimisation some curves are needed

To have a great curves demonstrating what you think is a problem, please install and configure what is described here: Even better with Plotly to tune your Thermostat

Describe the bug

A clear and concise description of what the bug is.

I'm trying to:

Open the window on a configured VTherm for an indeterminate (possibly infinite) amount of time.

And I expect:

When a configured window is open the VTherm instance must stick to the window open temperature as long as the window is open and only return to the normal working cycle once the open window state ends.

But I observe this ....

The VTherm instance correctly identifies a window as open and displays it in the dashboard card, but the target temperature ignores the open window after a maximum of three hours have passed.

I read the documentation on the README.md file and I don't find any relevant information about this issue.

Debug log

Will follow once issue is recreated

logger:
    default: info
    logs:
        custom_components.versatile_thermostat: info

Add your logs here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions