jmcollin78 / versatile_thermostat

A full featured Thermostat for Home Assistant: presets, window, motion, presence and overpowering management
MIT License
307 stars 34 forks source link

Reconfiguring a vtherm while in mode heat sets all vtherms to mode heat #609

Closed gpayer closed 43 minutes ago

gpayer commented 2 days ago

Version of the custom_component

6.6.0

Configuration

VTherm Wohnzimmer:

hvac_modes: off, heat, auto
min_temp: 12
max_temp: 28
target_temp_step: 0.1
friendly_name: VTherm Wohnzimmer
supported_features: 401
current_temperature: 21.6
temperature: 22
preset_modes: none, frost, eco, comfort, boost
preset_mode: comfort
is_on: true
hvac_action: idle
hvac_mode: heat
type: null
is_controlled_by_central_mode: false
last_central_mode: null
frost_temp: 15
eco_temp: 20
boost_temp: 23
comfort_temp: 22
frost_away_temp: 0
eco_away_temp: 0
boost_away_temp: 0
comfort_away_temp: 0
power_temp: null
target_temperature_step: 0.1
ext_current_temperature: 4.8
ac_mode: false
current_power: null
current_power_max: null
saved_preset_mode: comfort
saved_target_temp: 22
saved_hvac_mode: null
motion_sensor_entity_id: null
motion_state: null
power_sensor_entity_id: null
max_power_sensor_entity_id: null
overpowering_state: null
presence_sensor_entity_id: null
presence_state: null
window_state: off
window_auto_state: off
window_bypass_state: false
window_sensor_entity_id: null
window_delay_sec: null
window_auto_enabled: false
window_auto_open_threshold: null
window_auto_close_threshold: null
window_auto_max_duration: null
window_action: window_turn_off
security_delay_min: 60
security_min_on_percent: 0.5
security_default_on_percent: 0.1
last_temperature_datetime: 2024-11-05T22:16:36.300493+01:00
last_ext_temperature_datetime: 2024-11-05T22:05:25.209697+01:00
security_state: false
minimal_activation_delay_sec: 10
device_power: 1
mean_cycle_power: null
total_energy: 0.07
last_update_datetime: 2024-11-05T22:16:36.300965+01:00
timezone: Europe/Berlin
temperature_unit: °C
is_device_active: false
ema_temp: 21.64
is_used_by_central_boiler: false
temperature_slope: 0.01
hvac_off_reason: null
is_over_climate: true
start_hvac_action_date: null
underlying_entities: climate.thermostat_wohnzimmer1, climate.thermostat_wohnzimmer2
auto_fan_mode: auto_fan_high
current_auto_fan_mode: auto_fan_high
auto_activated_fan_mode: null
auto_deactivated_fan_mode: null
auto_regulation_use_device_temp: false
auto_start_stop_enable: false
auto_start_stop_level: auto_start_stop_none
auto_start_stop_dtmin: null
auto_start_stop_accumulated_error: 0
auto_start_stop_accumulated_error_threshold: null

VTherm Arbeitszimmer:

hvac_modes: off, heat, auto
min_temp: 12
max_temp: 28
target_temp_step: 0.1
friendly_name: VTherm Arbeitszimmer
supported_features: 401
current_temperature: 22.3
temperature: 22
preset_modes: none, frost, eco, comfort, boost
preset_mode: comfort
is_on: true
hvac_action: idle
hvac_mode: heat
type: null
is_controlled_by_central_mode: false
last_central_mode: null
frost_temp: 15
eco_temp: 20
boost_temp: 23
comfort_temp: 22
frost_away_temp: 0
eco_away_temp: 0
boost_away_temp: 0
comfort_away_temp: 0
power_temp: null
target_temperature_step: 0.1
ext_current_temperature: 4.8
ac_mode: false
current_power: null
current_power_max: null
saved_preset_mode: comfort
saved_target_temp: 22
saved_hvac_mode: null
motion_sensor_entity_id: null
motion_state: null
power_sensor_entity_id: null
max_power_sensor_entity_id: null
overpowering_state: null
presence_sensor_entity_id: null
presence_state: null
window_state: off
window_auto_state: off
window_bypass_state: false
window_sensor_entity_id: null
window_delay_sec: null
window_auto_enabled: false
window_auto_open_threshold: null
window_auto_close_threshold: null
window_auto_max_duration: null
window_action: window_turn_off
security_delay_min: 60
security_min_on_percent: 0.5
security_default_on_percent: 0.1
last_temperature_datetime: 2024-11-05T22:15:26.127634+01:00
last_ext_temperature_datetime: 2024-11-05T22:05:25.209697+01:00
security_state: false
minimal_activation_delay_sec: 10
device_power: 1
mean_cycle_power: null
total_energy: 0.45
last_update_datetime: 2024-11-05T22:15:26.128293+01:00
timezone: Europe/Berlin
temperature_unit: °C
is_device_active: false
ema_temp: 21.7
is_used_by_central_boiler: false
temperature_slope: 7.2
hvac_off_reason: null
is_over_climate: true
start_hvac_action_date: null
underlying_entities: climate.thermostat_arbeitszimmer_2
auto_fan_mode: auto_fan_high
current_auto_fan_mode: auto_fan_high
auto_activated_fan_mode: null
auto_deactivated_fan_mode: null
auto_regulation_use_device_temp: false
auto_start_stop_enable: false
auto_start_stop_level: auto_start_stop_none
auto_start_stop_dtmin: null
auto_start_stop_accumulated_error: 0
auto_start_stop_accumulated_error_threshold: null

Describe the bug

I encountered this bug in my production system, but was able to reproduce it in my test system, where I use climate mockups via mqtt. (I really have to extract them to a new repository, they are great for testing)

I did the following:

Reconfiguring while off does not trigger this bug. And it seems to be related to the central configuration in some way, changing nothing or other stuff does not necessarily trigger this bug.

Debug log

2024-11-05 22:32:25.314 INFO (MainThread) [custom_components.versatile_thermostat.config_flow] Recreating entry 01JB019YPWDKNDWCNE0ZWKH65M due to configuration change. New config is now: {'use_window_feature': Fal
se, 'use_motion_feature': False, 'use_power_feature': False, 'use_presence_feature': False, 'use_central_boiler_feature': False, 'use_main_central_config': True, 'use_tpi_central_config': True, 'use_window_central
_config': False, 'use_motion_central_config': False, 'use_power_central_config': False, 'use_presets_central_config': True, 'use_presence_central_config': False, 'use_advanced_central_config': True, 'thermostat_ty
pe': 'thermostat_over_climate', 'name': 'VTherm Arbeitszimmer', 'temperature_sensor_entity_id': 'sensor.temperatur_arbeitszimmer', 'cycle_min': 5, 'device_power': 1.0, 'use_central_mode': False, 'used_by_controls_
central_boiler': False, 'ac_mode': False, 'auto_regulation_mode': 'auto_regulation_none', 'auto_regulation_dtemp': 0.5, 'auto_regulation_periode_min': 5, 'auto_fan_mode': 'auto_fan_high', 'auto_regulation_use_devi
ce_temp': False, 'window_sensor_entity_id': None, 'window_auto_close_threshold': None, 'window_auto_open_threshold': None, 'window_auto_max_duration': None, 'motion_sensor_entity_id': None, 'power_sensor_entity_id
': None, 'max_power_sensor_entity_id': None, 'presence_sensor_entity_id': None, 'central_boiler_activation_service': None, 'central_boiler_deactivation_service': None, 'external_temperature_sensor_entity_id': 'sen
sor.outdoor_temperature', 'temp_min': 7.0, 'temp_max': 28.0, 'step_temperature': 0.5, 'underlying_entity_ids': ['climate.thermostat_arbeitszimmer_2'], 'use_auto_start_stop_feature': False, 'auto_start_stop_level':
 'auto_start_stop_none'}
2024-11-05 22:32:25.314 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - Removing thermostat
2024-11-05 22:32:25.315 INFO (MainThread) [homeassistant.components.select] Setting up versatile_thermostat.select
2024-11-05 22:32:25.315 INFO (MainThread) [homeassistant.components.climate] Setting up versatile_thermostat.climate
2024-11-05 22:32:25.315 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - Updating VersatileThermostat with infos {'use_window_feature': False, '
use_motion_feature': False, 'use_power_feature': False, 'use_presence_feature': False, 'use_central_boiler_feature': False, 'use_main_central_config': True, 'use_tpi_central_config': True, 'use_window_central_conf
ig': False, 'use_motion_central_config': False, 'use_power_central_config': False, 'use_presets_central_config': True, 'use_presence_central_config': False, 'use_advanced_central_config': True, 'thermostat_type':
'thermostat_over_climate', 'name': 'VTherm Arbeitszimmer', 'temperature_sensor_entity_id': 'sensor.temperatur_arbeitszimmer', 'cycle_min': 5, 'device_power': 1.0, 'use_central_mode': False, 'used_by_controls_centr
al_boiler': False, 'ac_mode': False, 'auto_regulation_mode': 'auto_regulation_none', 'auto_regulation_dtemp': 0.5, 'auto_regulation_periode_min': 5, 'auto_fan_mode': 'auto_fan_high', 'auto_regulation_use_device_te
mp': False, 'window_sensor_entity_id': None, 'window_auto_close_threshold': None, 'window_auto_open_threshold': None, 'window_auto_max_duration': None, 'motion_sensor_entity_id': None, 'power_sensor_entity_id': No
ne, 'max_power_sensor_entity_id': None, 'presence_sensor_entity_id': None, 'central_boiler_activation_service': None, 'central_boiler_deactivation_service': None, 'external_temperature_sensor_entity_id': 'sensor.o
utdoor_temperature', 'temp_min': 7.0, 'temp_max': 28.0, 'step_temperature': 0.5, 'underlying_entity_ids': ['climate.thermostat_arbeitszimmer_2'], 'use_auto_start_stop_feature': False, 'auto_start_stop_level': 'aut
o_start_stop_none'}
2024-11-05 22:32:25.315 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - The merged configuration is {'use_window_feature': False, 'use_motion_f
eature': False, 'use_power_feature': False, 'use_presence_feature': False, 'use_central_boiler_feature': False, 'use_main_central_config': True, 'use_tpi_central_config': True, 'use_window_central_config': False,
'use_motion_central_config': False, 'use_power_central_config': False, 'use_presets_central_config': True, 'use_presence_central_config': False, 'use_advanced_central_config': True, 'thermostat_type': 'thermostat_
over_climate', 'name': 'VTherm Arbeitszimmer', 'external_temperature_sensor_entity_id': 'sensor.outdoor_temperature', 'temp_min': 12.0, 'temp_max': 28.0, 'step_temperature': 0.1, 'minimal_activation_delay': 10, 's
ecurity_delay_min': 60, 'security_min_on_percent': 0.5, 'security_default_on_percent': 0.1, 'tpi_coef_int': 0.6, 'tpi_coef_ext': 0.01, 'underlying_entity_ids': ['climate.thermostat_arbeitszimmer_2'], 'temperature_
sensor_entity_id': 'sensor.temperatur_arbeitszimmer', 'cycle_min': 5, 'device_power': 1.0, 'use_central_mode': False, 'used_by_controls_central_boiler': False, 'ac_mode': False, 'auto_regulation_mode': 'auto_regul
ation_none', 'auto_regulation_dtemp': 0.5, 'auto_regulation_periode_min': 5, 'auto_fan_mode': 'auto_fan_high', 'auto_regulation_use_device_temp': False, 'window_sensor_entity_id': None, 'window_auto_close_threshol
d': None, 'window_auto_open_threshold': None, 'window_auto_max_duration': None, 'motion_sensor_entity_id': None, 'power_sensor_entity_id': None, 'max_power_sensor_entity_id': None, 'presence_sensor_entity_id': Non
e, 'central_boiler_activation_service': None, 'central_boiler_deactivation_service': None, 'use_auto_start_stop_feature': False, 'auto_start_stop_level': 'auto_start_stop_none'}
2024-11-05 22:32:25.316 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - Power management is not fully configured
2024-11-05 22:32:25.316 INFO (MainThread) [homeassistant.components.sensor] Setting up versatile_thermostat.sensor
2024-11-05 22:32:25.318 INFO (MainThread) [homeassistant.components.number] Setting up versatile_thermostat.number
2024-11-05 22:32:25.318 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up versatile_thermostat.binary_sensor
2024-11-05 22:32:25.319 INFO (MainThread) [homeassistant.components.switch] Setting up versatile_thermostat.switch
2024-11-05 22:32:25.319 INFO (MainThread) [custom_components.versatile_thermostat.const] VersatileThermostat-VTherm Wohnzimmer - Sending event EventType.PRESET_EVENT with data: {'preset': 'comfort'}
2024-11-05 22:32:25.319 INFO (MainThread) [custom_components.versatile_thermostat.const] VersatileThermostat-VTherm Wohnzimmer - Sending event EventType.HVAC_MODE_EVENT with data: {'hvac_mode': 'heat'}
2024-11-05 22:32:25.320 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Wohnzimmer - restored state is target_temp=22.0, preset_mode=comfort, hvac_mode=heat
2024-11-05 22:32:25.320 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Wohnzimmer - find preset temp: frost
2024-11-05 22:32:25.320 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Wohnzimmer - find preset temp: eco
2024-11-05 22:32:25.320 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Wohnzimmer - find preset temp: comfort
2024-11-05 22:32:25.320 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Wohnzimmer - find preset temp: boost
2024-11-05 22:32:25.320 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Wohnzimmer - Set preset_mode: comfort force=True
2024-11-05 22:32:25.320 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Wohnzimmer - find preset temp: comfort
2024-11-05 22:32:25.320 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Wohnzimmer - Calling ThermostatClimate._send_regulated_temperature force=True
2024-11-05 22:32:25.320 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Wohnzimmer - regulation calculation will be done
2024-11-05 22:32:25.320 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Wohnzimmer - Regulated temp have changed to 22.0. Resend it to underlyings
2024-11-05 22:32:25.321 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Arbeitszimmer - Calling ThermostatClimate._send_regulated_temperature force=True
2024-11-05 22:32:25.320 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Wohnzimmer - regulation calculation will be done
2024-11-05 22:32:25.320 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Wohnzimmer - Regulated temp have changed to 22.0. Resend it to underlyings
2024-11-05 22:32:25.321 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Arbeitszimmer - Calling ThermostatClimate._send_regulated_temperature force=True
2024-11-05 22:32:25.321 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Arbeitszimmer - regulation calculation will be done
2024-11-05 22:32:25.321 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Arbeitszimmer - Regulated temp have changed to 22.0. Resend it to underlyings
2024-11-05 22:32:25.321 INFO (MainThread) [custom_components.versatile_thermostat.const] VersatileThermostat-VTherm Arbeitszimmer - Sending event EventType.PRESET_EVENT with data: {'preset': 'none'}
2024-11-05 22:32:25.321 INFO (MainThread) [custom_components.versatile_thermostat.const] VersatileThermostat-VTherm Arbeitszimmer - Sending event EventType.HVAC_MODE_EVENT with data: {'hvac_mode': 'heat'}
2024-11-05 22:32:25.321 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - restored state is target_temp=22.0, preset_mode=none, hvac_mode=heat
2024-11-05 22:32:25.321 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - find preset temp: frost
2024-11-05 22:32:25.321 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - find preset temp: eco
2024-11-05 22:32:25.321 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - find preset temp: comfort
2024-11-05 22:32:25.321 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - find preset temp: boost
2024-11-05 22:32:25.321 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - Set preset_mode: none force=True
2024-11-05 22:32:25.321 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Arbeitszimmer - Calling ThermostatClimate._send_regulated_temperature force=True
2024-11-05 22:32:25.322 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Arbeitszimmer - regulation calculation will be done
2024-11-05 22:32:25.322 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Arbeitszimmer - Regulated temp have changed to 22.0. Resend it to underlyings
2024-11-05 22:32:25.322 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - The config entry have been updated
2024-11-05 22:32:25.322 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Arbeitszimmer - Underlying climate.thermostat_arbeitszimmer_2 is not initialized. Tr
y to initialize it
2024-11-05 22:32:25.322 INFO (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VTherm Arbeitszimmer-climate.thermostat_arbeitszimmer_2 - The underlying climate entity: <entity c
limate.thermostat_arbeitszimmer_2=heat> have been succesfully found
2024-11-05 22:32:25.323 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - The config entry have been updated
2024-11-05 22:32:25.323 INFO (MainThread) [custom_components.versatile_thermostat.const] VersatileThermostat-VTherm Wohnzimmer - Sending event EventType.PRESET_EVENT with data: {'preset': 'comfort'}
2024-11-05 22:32:25.323 INFO (MainThread) [custom_components.versatile_thermostat.const] VersatileThermostat-VTherm Wohnzimmer - Sending event EventType.HVAC_MODE_EVENT with data: {'hvac_mode': 'heat'}
2024-11-05 22:32:25.323 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Wohnzimmer - restored state is target_temp=22.0, preset_mode=comfort, hvac_mode=heat
2024-11-05 22:32:25.323 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Wohnzimmer - find preset temp: frost
2024-11-05 22:32:25.323 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Wohnzimmer - find preset temp: eco
2024-11-05 22:32:25.323 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Wohnzimmer - find preset temp: comfort
2024-11-05 22:32:25.323 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Wohnzimmer - find preset temp: boost
2024-11-05 22:32:25.323 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Wohnzimmer - Set preset_mode: comfort force=True
2024-11-05 22:32:25.323 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Wohnzimmer - find preset temp: comfort
2024-11-05 22:32:25.323 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Wohnzimmer - Calling ThermostatClimate._send_regulated_temperature force=True
2024-11-05 22:32:25.323 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Wohnzimmer - regulation calculation will be done
2024-11-05 22:32:25.323 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Wohnzimmer - Regulated temp have changed to 22.0. Resend it to underlyings
2024-11-05 22:32:25.324 INFO (MainThread) [custom_components.versatile_thermostat.const] VersatileThermostat-VTherm Arbeitszimmer - Sending event EventType.PRESET_EVENT with data: {'preset': 'none'}
2024-11-05 22:32:25.324 INFO (MainThread) [custom_components.versatile_thermostat.const] VersatileThermostat-VTherm Arbeitszimmer - Sending event EventType.HVAC_MODE_EVENT with data: {'hvac_mode': 'heat'}
2024-11-05 22:32:25.324 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - restored state is target_temp=22.0, preset_mode=none, hvac_mode=heat
2024-11-05 22:32:25.324 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - find preset temp: frost
2024-11-05 22:32:25.324 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - find preset temp: eco
2024-11-05 22:32:25.324 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - find preset temp: comfort
2024-11-05 22:32:25.324 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - find preset temp: boost
2024-11-05 22:32:25.324 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-VTherm Arbeitszimmer - Set preset_mode: none force=True
2024-11-05 22:32:25.324 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Arbeitszimmer - Calling ThermostatClimate._send_regulated_temperature force=True
2024-11-05 22:32:25.324 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Arbeitszimmer - regulation calculation will be done
2024-11-05 22:32:25.324 INFO (MainThread) [custom_components.versatile_thermostat.thermostat_climate] VersatileThermostat-VTherm Arbeitszimmer - Regulated temp have changed to 22.0. Resend it to underlyings
2024-11-05 22:32:25.328 INFO (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VTherm Wohnzimmer-climate.thermostat_wohnzimmer1 - The hvac mode is heat, but the underlying devic
e is not ON. Turning on device climate.thermostat_wohnzimmer1 if needed
2024-11-05 22:32:25.328 INFO (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-VTherm Wohnzimmer-climate.thermostat_wohnzimmer2 - The hvac mode is heat, but the underlying devic
e is not ON. Turning on device climate.thermostat_wohnzimmer2 if needed
jmcollin78 commented 1 day ago

Hello @gpayer,

Thank you for the detailled report.

  • I turned on using the central preset configuration
  • Now all VTherms are in state heating

I don't understand why you consider it is wrong. If you "turned on using the central preset configuration" ll VTherm are heating. What did you expect ?

gpayer commented 1 day ago

Hm? Aren't presets values for "comfort", "eco", etc.? I thought what you describe is central control. If changing the values for comfort, eco, min and max temp etc. are somehow also responsible for setting the mode of a climate then this needs some serious explanation and translation check.

Or did you misunderstand me? I meant "enabled the 'use central preset configuration' feature in the configuration in section 'presets'". I did NOT turn on anything by using the central control. I don't even know where it is.

If it helps you I can take screenshots of what I did or take a screen recording.

jmcollin78 commented 1 day ago

Ooooh,

Or did you misunderstand me? I meant "enabled the 'use central preset configuration' feature in the configuration in section 'presets'".

Yes ! If I say it with my words, when to check the "use central preset configuration" on one VTherm, this turn on all VTherm.

If this is true (I will give it a check), this is not normal at all. At just something like that in https://github.com/jmcollin78/versatile_thermostat/releases/tag/6.6.1.beta2. Can you give it a try ?

What I fix was that, when you reconfigure on VTherm, all the others are reloaded. And because, the last state was not always written, this could lead to the bug you describe.

gpayer commented 1 day ago

Hey, that' great to hear!

I tested with 6.6.1.beta2 and it seems to fix this bug, I could not reproduce it. And it was very easy to reproduce with 6.6.0. So, I'm looking forward to the 6.6.1 release! :smiley:

jmcollin78 commented 1 day ago

That is most quickly fixed bug of my history ! 😄

jmcollin78 commented 43 minutes ago

https://github.com/jmcollin78/versatile_thermostat/releases/tag/6.6.1