Closed kuba1975 closed 1 year ago
adding logs: 2023-08-21 22:54:58.364 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=0.2 delta_ext_temp=0.2 mod_cond=False temp_cond=False climate_cond=True switch_cond=False 2023-08-21 22:54:58.364 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - End of cycle (HVAC_MODE_OFF) 2023-08-21 22:54:58.376 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-21 22:54:58.376 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-21 22:54:58.376 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-21 22:54:58.376 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-21 22:54:58.376 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-21 22:55:04.638 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Temperature changed. Event.new_state is <state sensor.zhimi_m1_3a8c_indoor_temperature=25.6; state_class=measurement, entity_class=MiotSensorSubEntity, parent_entity_id=fan.zhimi_m1_3a8c_air_purifier, service_description=Environment, property_description=Indoor Temperature, updated_time=2023-08-21T22:55:04.633627+02:00, environment.temperature=25.6, unit_of_measurement=°C, device_class=temperature, friendly_name=Xiaomi Purifier Environment Indoor Temperature, supported_features=0 @ 2023-08-21T22:55:04.633710+02:00> 2023-08-21 22:55:04.639 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - After setting _last_temperature_mesure 2023-08-21 22:55:04.633710+02:00 , state.last_changed.replace=2023-08-21 22:55:04.633710+02:00 2023-08-21 22:55:04.639 DEBUG (MainThread) [custom_components.versatile_thermostat.open_window_algorithm] We are already initialized slope=0.1435042617916598 last_temp=25.50 2023-08-21 22:55:04.639 DEBUG (MainThread) [custom_components.versatile_thermostat.open_window_algorithm] delta_t=1.000 delta_temp=0.100 new_slope=0.100 last_slope=0.1435042617916598 slope=0.122 2023-08-21 22:55:04.639 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Window auto is on, check the alert. last slope is 0.122 2023-08-21 22:55:04.640 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.OFF: 'off'>, 'preset_mode': 'eco', 'type': 'thermostat_over_climate', 'eco_temp': 18.0, 'boost_temp': 25.0, 'comfort_temp': 22.0, 'eco_away_temp': None, 'boost_away_temp': None, 'comfort_away_temp': None, 'power_temp': None, 'target_temp': 26.0, 'current_temp': 25.6, 'ext_current_temperature': 20.9, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'eco', 'saved_target_temp': 26.0, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': None, 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-21T22:55:04.633710+02:00', 'last_ext_temperature_datetime': '2023-08-21T22:54:49.129199+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-21T22:55:04.639490+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-21 22:55:04.640 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=off, security_state=False, preset_mode=eco 2023-08-21 22:55:04.640 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-21 22:55:04.640 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=0.0 delta_ext_temp=0.3 mod_cond=False temp_cond=False climate_cond=True switch_cond=False 2023-08-21 22:55:04.640 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - End of cycle (HVAC_MODE_OFF) 2023-08-21 22:55:04.653 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-21 22:55:04.653 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-21 22:55:04.653 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-21 22:55:04.653 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-21 22:55:04.654 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change
Hello @kuba1975 , when you post your configuration please use the 'code' formatter, else it is unreadable
To try to help with your issue can you please see what happens on the climate.145135534992923_climate
when it receive the Cool mode ? Does it switch to cool mode ? Does its internal state switch to cool
also ?
VTherm over climate use the underlying climate state to set it's state. So if the underlying doesn't switch to cool or switch off for whatever reason the VTherm state will be off.
You can see this with the debug tool:
find your underlying climate entity, click the 'cool' on the VTherm thermostat and see what happens on the underlying climate. It should have its state change to cool.
Hi @jmcollin78, thanks for prompt response.
Once I change the mode in VTherm - climate.145135534992923_climate (Sypialnia) does not do anything either. Actually you can see that snow flake symbol turns on and off with the blink of an eye in both cards.
Once I change anything to climate.145135534992923_climate itself (without VTherm) it works as intended.
Please see the logs with both devices:
`2023-08-22 13:03:48.343 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - external Temperature changed. Event.new_state is <state sensor.meteobridge_air_temperature=29.2; state_class=measurement, attribution=Powered by Meteobridge, unit_of_measurement=°C, device_class=temperature, friendly_name=Meteobridge Air Temperature @ 2023-08-22T13:03:48.336303+02:00> 2023-08-22 13:03:48.343 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - After setting _last_ext_temperature_mesure 2023-08-22 13:03:48.336303+02:00 , state.last_changed.replace=2023-08-22 13:03:48.336303+02:00 2023-08-22 13:03:48.344 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.OFF: 'off'>, 'preset_mode': 'none', 'type': 'thermostat_over_climate', 'eco_temp': 18.0, 'boost_temp': 25.0, 'comfort_temp': 22.0, 'eco_away_temp': None, 'boost_away_temp': None, 'comfort_away_temp': None, 'power_temp': None, 'target_temp': 25.5, 'current_temp': 27.9, 'ext_current_temperature': 29.2, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'none', 'saved_target_temp': 26.0, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': None, 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-22T12:59:36.574125+02:00', 'last_ext_temperature_datetime': '2023-08-22T13:03:48.336303+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-22T13:03:48.343672+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-22 13:03:48.344 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=off, security_state=False, preset_mode=none 2023-08-22 13:03:48.344 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-22 13:03:48.344 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=4.2 delta_ext_temp=0.0 mod_cond=False temp_cond=False climate_cond=True switch_cond=False 2023-08-22 13:03:48.344 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - End of cycle (HVAC_MODE_OFF) 2023-08-22 13:03:48.351 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-22 13:03:48.351 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-22 13:03:48.351 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-22 13:03:48.351 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-22 13:03:48.351 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-22 13:04:04.473 INFO (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Set preset_mode: eco force=False 2023-08-22 13:04:04.474 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.OFF: 'off'>, 'preset_mode': 'eco', 'type': 'thermostat_over_climate', 'eco_temp': 18.0, 'boost_temp': 25.0, 'comfort_temp': 22.0, 'eco_away_temp': None, 'boost_away_temp': None, 'comfort_away_temp': None, 'power_temp': None, 'target_temp': 18.0, 'current_temp': 27.9, 'ext_current_temperature': 29.2, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'eco', 'saved_target_temp': 25.5, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': None, 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-22T13:04:04.473979+02:00', 'last_ext_temperature_datetime': '2023-08-22T13:04:04.473979+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-22T13:04:04.474028+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-22 13:04:04.474 INFO (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Sending event EventType.PRESET_EVENT with data: {'preset': 'eco'} 2023-08-22 13:04:04.477 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=off, security_state=False, preset_mode=eco 2023-08-22 13:04:04.477 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-22 13:04:04.477 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=0.0 delta_ext_temp=0.0 mod_cond=False temp_cond=False climate_cond=True switch_cond=False 2023-08-22 13:04:04.477 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - End of cycle (HVAC_MODE_OFF) 2023-08-22 13:04:04.481 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-22 13:04:04.481 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-22 13:04:04.482 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-22 13:04:04.482 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-22 13:04:04.482 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-22 13:04:04.482 DEBUG (SyncWorker_15) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa23ac00000000000302', 'body': '40004266000000300000000000000000000000000000002fde', 'message type': '02', 'body type': '40'} 2023-08-22 13:04:04.626 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa28ac00000000000302', 'body': 'c00042667f7f000000000067690600660000000000000001000000002fe0', 'message type': '02', 'body type': 'c0'} 2023-08-22 13:04:04.627 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'power': False, 'mode': 2, 'target_temperature': 18.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'frost_protect': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'temp_fahrenheit': False, 'screen_display': False, 'full_dust': False, 'indoor_temperature': 26.6, 'outdoor_temperature': 27.6, 'indirect_wind': False} 2023-08-22 13:04:04.630 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - _async_climate_changed new_state is <state climate.145135534992923_climate=off; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=26.6, temperature=18.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=False, mode=2, target_temperature=18.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=False, screen_display_new=True, full_dust=False, indoor_temperature=26.6, outdoor_temperature=27.6, indirect_wind=False, indoor_humidity=76, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-22T00:00:05.310093+02:00> 2023-08-22 13:04:04.631 INFO (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Underlying climate changed. Event.new_state is <state climate.145135534992923_climate=off; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=26.6, temperature=18.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=False, mode=2, target_temperature=18.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=False, screen_display_new=True, full_dust=False, indoor_temperature=26.6, outdoor_temperature=27.6, indirect_wind=False, indoor_humidity=76, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-22T00:00:05.310093+02:00>, current_hvac_mode=off, new_hvac_action=None, old_hvac_action=None 2023-08-22 13:04:04.631 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.OFF: 'off'>, 'preset_mode': 'eco', 'type': 'thermostat_over_climate', 'eco_temp': 18.0, 'boost_temp': 25.0, 'comfort_temp': 22.0, 'eco_away_temp': None, 'boost_away_temp': None, 'comfort_away_temp': None, 'power_temp': None, 'target_temp': 18.0, 'current_temp': 27.9, 'ext_current_temperature': 29.2, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'eco', 'saved_target_temp': 25.5, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': None, 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-22T13:04:04.473979+02:00', 'last_ext_temperature_datetime': '2023-08-22T13:04:04.473979+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-22T13:04:04.631256+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-22 13:04:04.631 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=off, security_state=False, preset_mode=eco 2023-08-22 13:04:04.631 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-22 13:04:04.631 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=0.0 delta_ext_temp=0.0 mod_cond=False temp_cond=False climate_cond=True switch_cond=False 2023-08-22 13:04:04.631 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - End of cycle (HVAC_MODE_OFF) 2023-08-22 13:04:04.637 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-22 13:04:04.637 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-22 13:04:04.637 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-22 13:04:04.637 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-22 13:04:04.637 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-22 13:04:06.867 INFO (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Set hvac mode: cool 2023-08-22 13:04:06.868 INFO (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Set preset_mode: eco force=True 2023-08-22 13:04:06.871 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.OFF: 'off'>, 'preset_mode': 'eco', 'type': 'thermostat_over_climate', 'eco_temp': 18.0, 'boost_temp': 25.0, 'comfort_temp': 22.0, 'eco_away_temp': None, 'boost_away_temp': None, 'comfort_away_temp': None, 'power_temp': None, 'target_temp': 26.0, 'current_temp': 27.9, 'ext_current_temperature': 29.2, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'eco', 'saved_target_temp': 25.5, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': None, 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-22T13:04:06.870862+02:00', 'last_ext_temperature_datetime': '2023-08-22T13:04:06.870862+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-22T13:04:06.870935+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-22 13:04:06.871 INFO (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Sending event EventType.PRESET_EVENT with data: {'preset': 'eco'} 2023-08-22 13:04:06.877 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=cool, security_state=False, preset_mode=eco 2023-08-22 13:04:06.877 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-22 13:04:06.877 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=0.0 delta_ext_temp=0.0 mod_cond=True temp_cond=False climate_cond=True switch_cond=False 2023-08-22 13:04:06.878 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.OFF: 'off'>, 'preset_mode': 'eco', 'type': 'thermostat_over_climate', 'eco_temp': 18.0, 'boost_temp': 25.0, 'comfort_temp': 22.0, 'eco_away_temp': None, 'boost_away_temp': None, 'comfort_away_temp': None, 'power_temp': None, 'target_temp': 26.0, 'current_temp': 27.9, 'ext_current_temperature': 29.2, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'eco', 'saved_target_temp': 25.5, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': None, 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-22T13:04:06.870862+02:00', 'last_ext_temperature_datetime': '2023-08-22T13:04:06.870862+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-22T13:04:06.877665+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-22 13:04:06.878 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.OFF: 'off'>, 'preset_mode': 'eco', 'type': 'thermostat_over_climate', 'eco_temp': 18.0, 'boost_temp': 25.0, 'comfort_temp': 22.0, 'eco_away_temp': None, 'boost_away_temp': None, 'comfort_away_temp': None, 'power_temp': None, 'target_temp': 26.0, 'current_temp': 27.9, 'ext_current_temperature': 29.2, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'eco', 'saved_target_temp': 25.5, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': None, 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-22T13:04:06.878105+02:00', 'last_ext_temperature_datetime': '2023-08-22T13:04:06.878105+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-22T13:04:06.878131+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-22 13:04:06.878 INFO (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Sending event EventType.HVAC_MODE_EVENT with data: {'hvac_mode': <HVACMode.COOL: 'cool'>} 2023-08-22 13:04:06.886 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-22 13:04:06.886 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-22 13:04:06.886 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-22 13:04:06.887 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-22 13:04:06.887 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-22 13:04:06.887 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-22 13:04:06.887 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-22 13:04:06.887 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-22 13:04:06.887 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-22 13:04:06.887 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-22 13:04:06.887 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-22 13:04:06.887 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-22 13:04:06.887 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-22 13:04:06.887 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-22 13:04:06.887 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-22 13:04:06.888 DEBUG (SyncWorker_0) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa23ac00000000000302', 'body': '40014266000000300000000000000000000000000000003372', 'message type': '02', 'body type': '40'} 2023-08-22 13:04:06.889 DEBUG (SyncWorker_12) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa23ac00000000000302', 'body': '40004a660000003000000000000000000000000000000034bf', 'message type': '02', 'body type': '40'} 2023-08-22 13:04:07.036 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa28ac00000000000302', 'body': 'c00142667f7f0000000000676906006600000000000000010000000033ea', 'message type': '02', 'body type': 'c0'} 2023-08-22 13:04:07.036 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'power': True, 'mode': 2, 'target_temperature': 18.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'frost_protect': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'temp_fahrenheit': False, 'screen_display': True, 'full_dust': False, 'indoor_temperature': 26.6, 'outdoor_temperature': 27.6} 2023-08-22 13:04:07.041 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - _async_climate_changed new_state is <state climate.145135534992923_climate=cool; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=26.6, temperature=18.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=True, mode=2, target_temperature=18.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=True, screen_display_new=True, full_dust=False, indoor_temperature=26.6, outdoor_temperature=27.6, indirect_wind=False, indoor_humidity=76, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-22T13:04:07.040064+02:00> 2023-08-22 13:04:07.042 INFO (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Underlying climate changed. Event.new_state is <state climate.145135534992923_climate=cool; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=26.6, temperature=18.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=True, mode=2, target_temperature=18.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=True, screen_display_new=True, full_dust=False, indoor_temperature=26.6, outdoor_temperature=27.6, indirect_wind=False, indoor_humidity=76, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-22T13:04:07.040064+02:00>, current_hvac_mode=cool, new_hvac_action=None, old_hvac_action=None 2023-08-22 13:04:07.046 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.COOL: 'cool'>, 'preset_mode': 'eco', 'type': 'thermostat_over_climate', 'eco_temp': 18.0, 'boost_temp': 25.0, 'comfort_temp': 22.0, 'eco_away_temp': None, 'boost_away_temp': None, 'comfort_away_temp': None, 'power_temp': None, 'target_temp': 26.0, 'current_temp': 27.9, 'ext_current_temperature': 29.2, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'eco', 'saved_target_temp': 25.5, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': None, 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-22T13:04:06.878105+02:00', 'last_ext_temperature_datetime': '2023-08-22T13:04:06.878105+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-22T13:04:07.044379+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-22 13:04:07.046 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=cool, security_state=False, preset_mode=eco 2023-08-22 13:04:07.046 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-22 13:04:07.046 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=0.0 delta_ext_temp=0.0 mod_cond=True temp_cond=False climate_cond=True switch_cond=False 2023-08-22 13:04:07.047 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.COOL: 'cool'>, 'preset_mode': 'eco', 'type': 'thermostat_over_climate', 'eco_temp': 18.0, 'boost_temp': 25.0, 'comfort_temp': 22.0, 'eco_away_temp': None, 'boost_away_temp': None, 'comfort_away_temp': None, 'power_temp': None, 'target_temp': 26.0, 'current_temp': 27.9, 'ext_current_temperature': 29.2, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'eco', 'saved_target_temp': 25.5, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': None, 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-22T13:04:06.878105+02:00', 'last_ext_temperature_datetime': '2023-08-22T13:04:06.878105+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-22T13:04:07.047032+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-22 13:04:07.057 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-22 13:04:07.057 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-22 13:04:07.058 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-22 13:04:07.058 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-22 13:04:07.058 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-22 13:04:07.058 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-22 13:04:07.058 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-22 13:04:07.058 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-22 13:04:07.058 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-22 13:04:07.058 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-22 13:04:07.186 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa28ac00000000000302', 'body': 'c0004a667f7f000000000067690e00660000000000000001000000003426', 'message type': '02', 'body type': 'c0'} 2023-08-22 13:04:07.186 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'power': False, 'mode': 2, 'target_temperature': 26.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'frost_protect': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'temp_fahrenheit': False, 'screen_display': False, 'full_dust': False, 'indoor_temperature': 26.6, 'outdoor_temperature': 27.6, 'indirect_wind': False} 2023-08-22 13:04:07.190 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - _async_climate_changed new_state is <state climate.145135534992923_climate=off; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=26.6, temperature=26.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=False, mode=2, target_temperature=26.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=False, screen_display_new=True, full_dust=False, indoor_temperature=26.6, outdoor_temperature=27.6, indirect_wind=False, indoor_humidity=76, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-22T13:04:07.187600+02:00> 2023-08-22 13:04:07.190 INFO (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Underlying climate changed. Event.new_state is <state climate.145135534992923_climate=off; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=26.6, temperature=26.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=False, mode=2, target_temperature=26.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=False, screen_display_new=True, full_dust=False, indoor_temperature=26.6, outdoor_temperature=27.6, indirect_wind=False, indoor_humidity=76, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-22T13:04:07.187600+02:00>, current_hvac_mode=cool, new_hvac_action=None, old_hvac_action=None 2023-08-22 13:04:07.191 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.OFF: 'off'>, 'preset_mode': 'eco', 'type': 'thermostat_over_climate', 'eco_temp': 18.0, 'boost_temp': 25.0, 'comfort_temp': 22.0, 'eco_away_temp': None, 'boost_away_temp': None, 'comfort_away_temp': None, 'power_temp': None, 'target_temp': 26.0, 'current_temp': 27.9, 'ext_current_temperature': 29.2, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'eco', 'saved_target_temp': 25.5, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': None, 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-22T13:04:06.878105+02:00', 'last_ext_temperature_datetime': '2023-08-22T13:04:06.878105+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-22T13:04:07.191053+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-22 13:04:07.191 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=off, security_state=False, preset_mode=eco 2023-08-22 13:04:07.191 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-22 13:04:07.191 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=0.0 delta_ext_temp=0.0 mod_cond=False temp_cond=False climate_cond=True switch_cond=False 2023-08-22 13:04:07.192 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - End of cycle (HVAC_MODE_OFF) 2023-08-22 13:04:07.197 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-22 13:04:07.197 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-22 13:04:07.197 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-22 13:04:07.197 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-22 13:04:07.197 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-22 13:04:10.168 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa22ac00000000000305', 'body': 'a01c40667f7f0000000000000000000000000000000034c7', 'message type': '05', 'body type': 'a0'} 2023-08-22 13:04:10.168 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'power': False, 'mode': 2, 'target_temperature': 26.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'full_dust': False, 'indirect_wind': False, 'screen_display': False} 2023-08-22 13:04:10.168 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa20ac00000000000303', 'body': '418100ff03ff000200000000000000000000000035ae', 'message type': '03', 'body type': '41'} 2023-08-22 13:04:10.169 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa1aac00000000000303', 'body': 'b106420018001500170033024b0036c3', 'message type': '03', 'body type': 'b1'} 2023-08-22 13:04:10.169 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa11ac00000000000303', 'body': '41210144000109', 'message type': '03', 'body type': '41'} 2023-08-22 13:04:10.312 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa28ac00000000000303', 'body': 'c0004a667f7f000000000067690e00660000000000000001000000003578', 'message type': '03', 'body type': 'c0'} 2023-08-22 13:04:10.312 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'power': False, 'mode': 2, 'target_temperature': 26.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'frost_protect': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'temp_fahrenheit': False, 'screen_display': False, 'full_dust': False, 'indoor_temperature': 26.6, 'outdoor_temperature': 27.6, 'indirect_wind': False} 2023-08-22 13:04:10.563 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa29ac00000000000303', 'body': 'b106420000010118000000150000014c1700000100330000004b0000000093', 'message type': '03', 'body type': 'b1'} 2023-08-22 13:04:10.563 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'screen_display': False, 'screen_display_new': True, 'indirect_wind': False, 'indoor_humidity': 76} 2023-08-22 13:04:10.673 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa20ac00000000000303', 'body': 'c12101440000000000000000000000000000000001df', 'message type': '03', 'body type': 'c1'} 2023-08-22 13:04:10.673 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0, 'indirect_wind': False, 'screen_display': False} 2023-08-22 13:04:13.669 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa22ac00000000000305', 'body': 'a01c40667f7f000000000000000000000000000000000146', 'message type': '05', 'body type': 'a0'} 2023-08-22 13:04:13.670 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'power': False, 'mode': 2, 'target_temperature': 26.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'full_dust': False, 'indirect_wind': False, 'screen_display': False} 2023-08-22 13:04:16.676 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa2bac00000000000304', 'body': 'a1000000000000000000000000676900004c66000000000000000000000000010c', 'message type': '04', 'body type': 'a1'} 2023-08-22 13:04:16.676 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'indoor_temperature': 26.6, 'outdoor_temperature': 27.6, 'indoor_humidity': 76, 'indirect_wind': False, 'screen_display': False} 2023-08-22 13:04:19.673 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa2bac00000000000304', 'body': 'a300000000000000000000000000000000000000000000000000000000000001bc', 'message type': '04', 'body type': 'a3'} 2023-08-22 13:04:19.673 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'indirect_wind': False, 'screen_display': False}
2023-08-22 13:04:22.667 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa2bac00000000000304', 'body': 'a500000000000000ea0100000000000005007d0000000063651800000000000138', 'message type': '04', 'body type': 'a5'} 2023-08-22 13:04:22.668 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'indirect_wind': False, 'screen_display': False} 2023-08-22 13:04:25.662 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa2bac00000000000304', 'body': 'a600000000000000000000000000000000000000000000000000000000000001fb', 'message type': '04', 'body type': 'a6'} 2023-08-22 13:04:25.662 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'indirect_wind': False, 'screen_display': False} `
No idea of what happens. What you can try is to simulate what is done by VTherm to switch into "Cool" mode. In the "Development Tools / services", try to call your climate with this configuration:
service: climate.set_hvac_mode
data:
hvac_mode: cool
target:
entity_id: climate.<your climate>
and see if it's works as expected.
yes it does - it just turned on cooling mode
2023-08-23 13:59:12.267 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa20ac00000000000303', 'body': '418100ff03ff00020000000000000000000000005a8a', 'message type': '03', 'body type': '41'} 2023-08-23 13:59:12.267 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa1aac00000000000303', 'body': 'b106420018001500170033024b005b5b', 'message type': '03', 'body type': 'b1'} 2023-08-23 13:59:12.268 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa11ac00000000000303', 'body': '41210144000109', 'message type': '03', 'body type': '41'} 2023-08-23 13:59:12.412 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa28ac00000000000303', 'body': 'c00047667f7f000000000064680b00200000000000000001000000005a7a', 'message type': '03', 'body type': 'c0'} 2023-08-23 13:59:12.412 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'power': False, 'mode': 2, 'target_temperature': 23.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'frost_protect': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'temp_fahrenheit': False, 'screen_display': False, 'full_dust': False, 'indoor_temperature': 25.0, 'outdoor_temperature': 27.2, 'indirect_wind': False} 2023-08-23 13:59:12.551 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa29ac00000000000303', 'body': 'b106420000010118000000150000014b1700000100330000004b0000000038', 'message type': '03', 'body type': 'b1'} 2023-08-23 13:59:12.551 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'screen_display': False, 'screen_display_new': True, 'indirect_wind': False, 'indoor_humidity': 75} 2023-08-23 13:59:12.668 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa20ac00000000000303', 'body': 'c12101440000000000000000000000000000000001df', 'message type': '03', 'body type': 'c1'} 2023-08-23 13:59:12.669 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0, 'indirect_wind': False, 'screen_display': False} 2023-08-23 13:59:27.558 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=off, security_state=False, preset_mode=none 2023-08-23 13:59:27.558 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-23 13:59:27.561 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=1.9 delta_ext_temp=2.0 mod_cond=False temp_cond=False climate_cond=True switch_cond=False 2023-08-23 13:59:27.561 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - End of cycle (HVAC_MODE_OFF) 2023-08-23 13:59:34.242 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Temperature changed. Event.new_state is <state sensor.zhimi_m1_3a8c_indoor_temperature=26.4; state_class=measurement, entity_class=MiotSensorSubEntity, parent_entity_id=fan.zhimi_m1_3a8c_air_purifier, service_description=Environment, property_description=Indoor Temperature, updated_time=2023-08-23T13:59:34.238686+02:00, environment.temperature=26.4, unit_of_measurement=°C, device_class=temperature, friendly_name=Xiaomi Purifier Environment Indoor Temperature, supported_features=0 @ 2023-08-23T13:59:34.238824+02:00> 2023-08-23 13:59:34.242 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - After setting _last_temperature_mesure 2023-08-23 13:59:34.238824+02:00 , state.last_changed.replace=2023-08-23 13:59:34.238824+02:00 2023-08-23 13:59:34.242 DEBUG (MainThread) [custom_components.versatile_thermostat.open_window_algorithm] We are already initialized slope=None last_temp=26.50 2023-08-23 13:59:34.243 DEBUG (MainThread) [custom_components.versatile_thermostat.open_window_algorithm] delta_t=1.993 delta_temp=-0.100 new_slope=-0.050 last_slope=None slope=-0.050 2023-08-23 13:59:34.243 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Window auto is on, check the alert. last slope is -0.050 2023-08-23 13:59:34.243 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.OFF: 'off'>, 'preset_mode': 'none', 'type': 'thermostat_over_climate', 'eco_temp': 0.0, 'boost_temp': 0.0, 'comfort_temp': 0.0, 'eco_away_temp': 5.0, 'boost_away_temp': 5.0, 'comfort_away_temp': 5.0, 'power_temp': None, 'target_temp': 25.0, 'current_temp': 26.4, 'ext_current_temperature': 27.6, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'none', 'saved_target_temp': 25.0, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': 'on', 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-23T13:59:34.238824+02:00', 'last_ext_temperature_datetime': '2023-08-23T13:57:28.321027+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-23T13:59:34.243181+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-23 13:59:34.243 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=off, security_state=False, preset_mode=none 2023-08-23 13:59:34.243 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-23 13:59:34.243 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=0.0 delta_ext_temp=2.1 mod_cond=False temp_cond=False climate_cond=True switch_cond=False 2023-08-23 13:59:34.243 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - End of cycle (HVAC_MODE_OFF) 2023-08-23 13:59:34.251 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-23 13:59:34.251 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_presence_state - climate state change 2023-08-23 13:59:34.252 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-23 13:59:34.252 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-23 13:59:34.252 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-23 13:59:34.252 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-23 13:59:42.719 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa20ac00000000000303', 'body': '418100ff03ff00020000000000000000000000006ce9', 'message type': '03', 'body type': '41'} 2023-08-23 13:59:42.720 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa1aac00000000000303', 'body': 'b106420018001500170033024b006d38', 'message type': '03', 'body type': 'b1'} 2023-08-23 13:59:42.721 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa11ac00000000000303', 'body': '41210144000109', 'message type': '03', 'body type': '41'} 2023-08-23 13:59:42.868 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa28ac00000000000303', 'body': 'c00047667f7f000000000064680b00200000000000000001000000006c19', 'message type': '03', 'body type': 'c0'} 2023-08-23 13:59:42.868 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'power': False, 'mode': 2, 'target_temperature': 23.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'frost_protect': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'temp_fahrenheit': False, 'screen_display': False, 'full_dust': False, 'indoor_temperature': 25.0, 'outdoor_temperature': 27.2, 'indirect_wind': False} 2023-08-23 13:59:43.006 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa29ac00000000000303', 'body': 'b106420000010118000000150000014b1700000100330000004b0000000038', 'message type': '03', 'body type': 'b1'} 2023-08-23 13:59:43.007 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'screen_display': False, 'screen_display_new': True, 'indirect_wind': False, 'indoor_humidity': 75} 2023-08-23 13:59:43.117 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa20ac00000000000303', 'body': 'c12101440000000000000000000000000000000001df', 'message type': '03', 'body type': 'c1'} 2023-08-23 13:59:43.117 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0, 'indirect_wind': False, 'screen_display': False} 2023-08-23 13:59:59.747 DEBUG (SyncWorker_8) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa23ac00000000000302', 'body': '400147660000003000000000000000000000000000000078ed', 'message type': '02', 'body type': '40'} 2023-08-23 13:59:59.892 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa28ac00000000000302', 'body': 'c00147667f7f000000000064680b002000000000000000010000000078d1', 'message type': '02', 'body type': 'c0'} 2023-08-23 13:59:59.893 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'power': True, 'mode': 2, 'target_temperature': 23.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'frost_protect': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'temp_fahrenheit': False, 'screen_display': True, 'full_dust': False, 'indoor_temperature': 25.0, 'outdoor_temperature': 27.2} 2023-08-23 13:59:59.896 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - _async_climate_changed new_state is <state climate.145135534992923_climate=cool; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=25.0, temperature=23.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=True, mode=2, target_temperature=23.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=True, screen_display_new=True, full_dust=False, indoor_temperature=25.0, outdoor_temperature=27.2, indirect_wind=False, indoor_humidity=75, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-23T13:59:59.894488+02:00> 2023-08-23 13:59:59.898 INFO (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Underlying climate changed. Event.new_state is <state climate.145135534992923_climate=cool; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=25.0, temperature=23.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=True, mode=2, target_temperature=23.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=True, screen_display_new=True, full_dust=False, indoor_temperature=25.0, outdoor_temperature=27.2, indirect_wind=False, indoor_humidity=75, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-23T13:59:59.894488+02:00>, current_hvac_mode=off, new_hvac_action=None, old_hvac_action=None 2023-08-23 13:59:59.899 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.COOL: 'cool'>, 'preset_mode': 'none', 'type': 'thermostat_over_climate', 'eco_temp': 0.0, 'boost_temp': 0.0, 'comfort_temp': 0.0, 'eco_away_temp': 5.0, 'boost_away_temp': 5.0, 'comfort_away_temp': 5.0, 'power_temp': None, 'target_temp': 25.0, 'current_temp': 26.4, 'ext_current_temperature': 27.6, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'none', 'saved_target_temp': 25.0, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': 'on', 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-23T13:59:34.238824+02:00', 'last_ext_temperature_datetime': '2023-08-23T13:57:28.321027+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-23T13:59:59.899208+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-23 13:59:59.899 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=cool, security_state=False, preset_mode=none 2023-08-23 13:59:59.899 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-23 13:59:59.899 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=0.4 delta_ext_temp=2.5 mod_cond=True temp_cond=False climate_cond=True switch_cond=False 2023-08-23 13:59:59.900 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.COOL: 'cool'>, 'preset_mode': 'none', 'type': 'thermostat_over_climate', 'eco_temp': 0.0, 'boost_temp': 0.0, 'comfort_temp': 0.0, 'eco_away_temp': 5.0, 'boost_away_temp': 5.0, 'comfort_away_temp': 5.0, 'power_temp': None, 'target_temp': 25.0, 'current_temp': 26.4, 'ext_current_temperature': 27.6, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'none', 'saved_target_temp': 25.0, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': 'on', 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-23T13:59:34.238824+02:00', 'last_ext_temperature_datetime': '2023-08-23T13:57:28.321027+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-23T13:59:59.899957+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-23 13:59:59.911 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-23 13:59:59.911 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_presence_state - climate state change 2023-08-23 13:59:59.911 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-23 13:59:59.911 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-23 13:59:59.911 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-23 13:59:59.911 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-23 13:59:59.912 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-23 13:59:59.912 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_presence_state - climate state change 2023-08-23 13:59:59.912 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-23 13:59:59.912 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-23 13:59:59.912 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-23 13:59:59.912 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-23 14:00:02.812 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa22ac00000000000305', 'body': 'a01740667f7f00000000000000000000000000000000785e', 'message type': '05', 'body type': 'a0'} 2023-08-23 14:00:02.812 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'power': True, 'mode': 2, 'target_temperature': 23.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'full_dust': False} 2023-08-23 14:00:05.836 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa2bac00000000000304', 'body': 'a1000000000000000000000000646800004a200000000000000000000000007858', 'message type': '04', 'body type': 'a1'} 2023-08-23 14:00:05.836 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'indoor_temperature': 25.0, 'outdoor_temperature': 27.2, 'indoor_humidity': 74} 2023-08-23 14:00:05.842 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - _async_climate_changed new_state is <state climate.145135534992923_climate=cool; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=25.0, temperature=23.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=True, mode=2, target_temperature=23.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=True, screen_display_new=True, full_dust=False, indoor_temperature=25.0, outdoor_temperature=27.2, indirect_wind=False, indoor_humidity=74, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-23T13:59:59.894488+02:00> 2023-08-23 14:00:05.842 INFO (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Underlying climate changed. Event.new_state is <state climate.145135534992923_climate=cool; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=25.0, temperature=23.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=True, mode=2, target_temperature=23.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=True, screen_display_new=True, full_dust=False, indoor_temperature=25.0, outdoor_temperature=27.2, indirect_wind=False, indoor_humidity=74, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-23T13:59:59.894488+02:00>, current_hvac_mode=cool, new_hvac_action=None, old_hvac_action=None 2023-08-23 14:00:05.843 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.COOL: 'cool'>, 'preset_mode': 'none', 'type': 'thermostat_over_climate', 'eco_temp': 0.0, 'boost_temp': 0.0, 'comfort_temp': 0.0, 'eco_away_temp': 5.0, 'boost_away_temp': 5.0, 'comfort_away_temp': 5.0, 'power_temp': None, 'target_temp': 25.0, 'current_temp': 26.4, 'ext_current_temperature': 27.6, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'none', 'saved_target_temp': 25.0, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': 'on', 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-23T13:59:34.238824+02:00', 'last_ext_temperature_datetime': '2023-08-23T13:57:28.321027+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-23T14:00:05.842916+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-23 14:00:05.843 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=cool, security_state=False, preset_mode=none 2023-08-23 14:00:05.843 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-23 14:00:05.843 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=0.5 delta_ext_temp=2.6 mod_cond=True temp_cond=False climate_cond=True switch_cond=False 2023-08-23 14:00:05.843 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.COOL: 'cool'>, 'preset_mode': 'none', 'type': 'thermostat_over_climate', 'eco_temp': 0.0, 'boost_temp': 0.0, 'comfort_temp': 0.0, 'eco_away_temp': 5.0, 'boost_away_temp': 5.0, 'comfort_away_temp': 5.0, 'power_temp': None, 'target_temp': 25.0, 'current_temp': 26.4, 'ext_current_temperature': 27.6, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'none', 'saved_target_temp': 25.0, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': 'on', 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-23T13:59:34.238824+02:00', 'last_ext_temperature_datetime': '2023-08-23T13:57:28.321027+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-23T14:00:05.843560+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-23 14:00:05.861 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-23 14:00:05.861 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_presence_state - climate state change 2023-08-23 14:00:05.861 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-23 14:00:05.861 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-23 14:00:05.861 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-23 14:00:05.861 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-23 14:00:05.861 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-23 14:00:05.861 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_presence_state - climate state change 2023-08-23 14:00:05.862 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-23 14:00:05.862 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-23 14:00:05.862 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-23 14:00:05.862 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-23 14:00:08.844 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa2bac00000000000304', 'body': 'a300000000000000000000000000000000000000000000000000000000000078d8', 'message type': '04', 'body type': 'a3'} 2023-08-23 14:00:08.844 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Unidentified protocol 2023-08-23 14:00:11.848 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa2bac00000000000304', 'body': 'a530003000000000d4090000000000000000000059000061752900000000007868', 'message type': '04', 'body type': 'a5'} 2023-08-23 14:00:11.848 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Unidentified protocol 2023-08-23 14:00:14.846 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa2bac00000000000304', 'body': 'a6000000000000000000000000000000000000000000000000000000000000789f', 'message type': '04', 'body type': 'a6'} 2023-08-23 14:00:14.847 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Unidentified protocol 2023-08-23 14:00:14.847 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa20ac00000000000303', 'body': '418100ff03ff00020000000000000000000000007f96', 'message type': '03', 'body type': '41'} 2023-08-23 14:00:14.847 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa1aac00000000000303', 'body': 'b106420018001500170033024b00802c', 'message type': '03', 'body type': 'b1'} 2023-08-23 14:00:14.848 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Sending: {'header': 'aa11ac00000000000303', 'body': '41210144000109', 'message type': '03', 'body type': '41'} 2023-08-23 14:00:14.991 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa28ac00000000000303', 'body': 'c00147667f7f000000000063680b00290000000000000001000000007f30', 'message type': '03', 'body type': 'c0'} 2023-08-23 14:00:14.991 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'power': True, 'mode': 2, 'target_temperature': 23.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'frost_protect': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'temp_fahrenheit': False, 'screen_display': True, 'full_dust': False, 'indoor_temperature': 24.9, 'outdoor_temperature': 27.2} 2023-08-23 14:00:14.997 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - _async_climate_changed new_state is <state climate.145135534992923_climate=cool; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=24.9, temperature=23.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=True, mode=2, target_temperature=23.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=True, screen_display_new=True, full_dust=False, indoor_temperature=24.9, outdoor_temperature=27.2, indirect_wind=False, indoor_humidity=74, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-23T13:59:59.894488+02:00> 2023-08-23 14:00:14.997 INFO (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Underlying climate changed. Event.new_state is <state climate.145135534992923_climate=cool; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=24.9, temperature=23.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=True, mode=2, target_temperature=23.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=True, screen_display_new=True, full_dust=False, indoor_temperature=24.9, outdoor_temperature=27.2, indirect_wind=False, indoor_humidity=74, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-23T13:59:59.894488+02:00>, current_hvac_mode=cool, new_hvac_action=None, old_hvac_action=None 2023-08-23 14:00:14.998 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.COOL: 'cool'>, 'preset_mode': 'none', 'type': 'thermostat_over_climate', 'eco_temp': 0.0, 'boost_temp': 0.0, 'comfort_temp': 0.0, 'eco_away_temp': 5.0, 'boost_away_temp': 5.0, 'comfort_away_temp': 5.0, 'power_temp': None, 'target_temp': 25.0, 'current_temp': 26.4, 'ext_current_temperature': 27.6, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'none', 'saved_target_temp': 25.0, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': 'on', 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-23T13:59:34.238824+02:00', 'last_ext_temperature_datetime': '2023-08-23T13:57:28.321027+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-23T14:00:14.997898+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-23 14:00:14.998 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=cool, security_state=False, preset_mode=none 2023-08-23 14:00:14.998 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-23 14:00:14.998 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=0.7 delta_ext_temp=2.8 mod_cond=True temp_cond=False climate_cond=True switch_cond=False 2023-08-23 14:00:14.999 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.COOL: 'cool'>, 'preset_mode': 'none', 'type': 'thermostat_over_climate', 'eco_temp': 0.0, 'boost_temp': 0.0, 'comfort_temp': 0.0, 'eco_away_temp': 5.0, 'boost_away_temp': 5.0, 'comfort_away_temp': 5.0, 'power_temp': None, 'target_temp': 25.0, 'current_temp': 26.4, 'ext_current_temperature': 27.6, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'none', 'saved_target_temp': 25.0, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': 'on', 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-23T13:59:34.238824+02:00', 'last_ext_temperature_datetime': '2023-08-23T13:57:28.321027+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-23T14:00:14.998639+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-23 14:00:15.007 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-23 14:00:15.007 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_presence_state - climate state change 2023-08-23 14:00:15.007 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-23 14:00:15.007 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-23 14:00:15.007 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-23 14:00:15.007 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-23 14:00:15.007 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-23 14:00:15.007 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_presence_state - climate state change 2023-08-23 14:00:15.007 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-23 14:00:15.007 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-23 14:00:15.007 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-23 14:00:15.007 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-23 14:00:15.131 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa29ac00000000000303', 'body': 'b106420000010118000000150000014a1700000100330000004b00000000b8', 'message type': '03', 'body type': 'b1'} 2023-08-23 14:00:15.131 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'screen_display': False, 'screen_display_new': True, 'indirect_wind': False, 'indoor_humidity': 74} 2023-08-23 14:00:15.137 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - _async_climate_changed new_state is <state climate.145135534992923_climate=cool; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=24.9, temperature=23.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=True, mode=2, target_temperature=23.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=False, screen_display_new=True, full_dust=False, indoor_temperature=24.9, outdoor_temperature=27.2, indirect_wind=False, indoor_humidity=74, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-23T13:59:59.894488+02:00> 2023-08-23 14:00:15.137 INFO (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Underlying climate changed. Event.new_state is <state climate.145135534992923_climate=cool; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=24.9, temperature=23.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=True, mode=2, target_temperature=23.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=False, screen_display_new=True, full_dust=False, indoor_temperature=24.9, outdoor_temperature=27.2, indirect_wind=False, indoor_humidity=74, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-23T13:59:59.894488+02:00>, current_hvac_mode=cool, new_hvac_action=None, old_hvac_action=None 2023-08-23 14:00:15.138 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.COOL: 'cool'>, 'preset_mode': 'none', 'type': 'thermostat_over_climate', 'eco_temp': 0.0, 'boost_temp': 0.0, 'comfort_temp': 0.0, 'eco_away_temp': 5.0, 'boost_away_temp': 5.0, 'comfort_away_temp': 5.0, 'power_temp': None, 'target_temp': 25.0, 'current_temp': 26.4, 'ext_current_temperature': 27.6, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'none', 'saved_target_temp': 25.0, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': 'on', 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-23T13:59:34.238824+02:00', 'last_ext_temperature_datetime': '2023-08-23T13:57:28.321027+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-23T14:00:15.137931+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-23 14:00:15.138 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=cool, security_state=False, preset_mode=none 2023-08-23 14:00:15.138 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-23 14:00:15.138 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=0.7 delta_ext_temp=2.8 mod_cond=True temp_cond=False climate_cond=True switch_cond=False 2023-08-23 14:00:15.138 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.COOL: 'cool'>, 'preset_mode': 'none', 'type': 'thermostat_over_climate', 'eco_temp': 0.0, 'boost_temp': 0.0, 'comfort_temp': 0.0, 'eco_away_temp': 5.0, 'boost_away_temp': 5.0, 'comfort_away_temp': 5.0, 'power_temp': None, 'target_temp': 25.0, 'current_temp': 26.4, 'ext_current_temperature': 27.6, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'none', 'saved_target_temp': 25.0, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': 'on', 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-23T13:59:34.238824+02:00', 'last_ext_temperature_datetime': '2023-08-23T13:57:28.321027+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-23T14:00:15.138638+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-23 14:00:15.146 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-23 14:00:15.146 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_presence_state - climate state change 2023-08-23 14:00:15.147 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-23 14:00:15.147 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-23 14:00:15.147 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-23 14:00:15.147 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-23 14:00:15.147 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-23 14:00:15.147 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_presence_state - climate state change 2023-08-23 14:00:15.147 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-23 14:00:15.147 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-23 14:00:15.147 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-23 14:00:15.147 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-23 14:00:15.242 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa20ac00000000000303', 'body': 'c12101440000000000000000000000000000000001df', 'message type': '03', 'body type': 'c1'} 2023-08-23 14:00:15.242 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0} 2023-08-23 14:00:19.561 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa22ac00000000000305', 'body': 'a01740667f7f00000000000000000000000000000000013a', 'message type': '05', 'body type': 'a0'} 2023-08-23 14:00:19.561 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'power': True, 'mode': 2, 'target_temperature': 23.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'full_dust': False} 2023-08-23 14:00:22.535 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa2bac00000000000304', 'body': 'a10000000000000000000000006368000047290000000000000000000000000182', 'message type': '04', 'body type': 'a1'} 2023-08-23 14:00:22.535 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Status update: {'indoor_temperature': 24.9, 'outdoor_temperature': 27.2, 'indoor_humidity': 71} 2023-08-23 14:00:22.540 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - _async_climate_changed new_state is <state climate.145135534992923_climate=cool; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=24.9, temperature=23.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=True, mode=2, target_temperature=23.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=False, screen_display_new=True, full_dust=False, indoor_temperature=24.9, outdoor_temperature=27.2, indirect_wind=False, indoor_humidity=71, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-23T13:59:59.894488+02:00> 2023-08-23 14:00:22.541 INFO (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Underlying climate changed. Event.new_state is <state climate.145135534992923_climate=cool; hvac_modes=[<HVACMode.OFF: 'off'>, <HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.HEAT: 'heat'>, <HVACMode.FAN_ONLY: 'fan_only'>], min_temp=17, max_temp=30, target_temp_step=0.5, fan_modes=['Silent', 'Low', 'Medium', 'High', 'Super high', 'Auto'], preset_modes=['none', 'comfort', 'eco', 'boost', 'sleep', 'away'], swing_modes=['Off', 'Vertical', 'Horizontal', 'Both'], current_temperature=24.9, temperature=23.0, fan_mode=Auto, preset_mode=none, swing_mode=Off, aux_heat=off, prompt_tone=False, power=True, mode=2, target_temperature=23.0, fan_speed=102, swing_vertical=False, swing_horizontal=False, smart_eye=False, dry=False, aux_heating=False, boost_mode=False, sleep_mode=False, frost_protect=False, comfort_mode=False, eco_mode=False, natural_wind=False, temp_fahrenheit=False, screen_display=False, screen_display_new=True, full_dust=False, indoor_temperature=24.9, outdoor_temperature=27.2, indirect_wind=False, indoor_humidity=71, breezeless=False, total_energy_consumption=0.0, current_energy_consumption=0.0, realtime_power=0.0, fresh_air_power=False, fresh_air_fan_speed=0, fresh_air_mode=None, fresh_air_1=None, fresh_air_2=None, icon=mdi:air-conditioner, friendly_name=Sypialnia, supported_features=121 @ 2023-08-23T13:59:59.894488+02:00>, current_hvac_mode=cool, new_hvac_action=None, old_hvac_action=None 2023-08-23 14:00:22.541 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.COOL: 'cool'>, 'preset_mode': 'none', 'type': 'thermostat_over_climate', 'eco_temp': 0.0, 'boost_temp': 0.0, 'comfort_temp': 0.0, 'eco_away_temp': 5.0, 'boost_away_temp': 5.0, 'comfort_away_temp': 5.0, 'power_temp': None, 'target_temp': 25.0, 'current_temp': 26.4, 'ext_current_temperature': 27.6, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'none', 'saved_target_temp': 25.0, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': 'on', 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-23T13:59:34.238824+02:00', 'last_ext_temperature_datetime': '2023-08-23T13:57:28.321027+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-23T14:00:22.541431+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-23 14:00:22.541 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=cool, security_state=False, preset_mode=none 2023-08-23 14:00:22.542 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-23 14:00:22.542 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=0.8 delta_ext_temp=2.9 mod_cond=True temp_cond=False climate_cond=True switch_cond=False 2023-08-23 14:00:22.542 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.COOL: 'cool'>, 'preset_mode': 'none', 'type': 'thermostat_over_climate', 'eco_temp': 0.0, 'boost_temp': 0.0, 'comfort_temp': 0.0, 'eco_away_temp': 5.0, 'boost_away_temp': 5.0, 'comfort_away_temp': 5.0, 'power_temp': None, 'target_temp': 25.0, 'current_temp': 26.4, 'ext_current_temperature': 27.6, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'none', 'saved_target_temp': 25.0, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': 'on', 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-23T13:59:34.238824+02:00', 'last_ext_temperature_datetime': '2023-08-23T13:57:28.321027+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-23T14:00:22.542170+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-23 14:00:22.551 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-23 14:00:22.551 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_presence_state - climate state change 2023-08-23 14:00:22.551 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-23 14:00:22.551 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-23 14:00:22.551 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-23 14:00:22.551 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-23 14:00:22.551 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-23 14:00:22.551 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_presence_state - climate state change 2023-08-23 14:00:22.551 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-23 14:00:22.551 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-23 14:00:22.551 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-23 14:00:22.551 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-23 14:00:22.591 DEBUG (Sonia) [custom_components.midea_ac_lan.midea.devices.ac.device] [146235046619319] Received: {'header': 'aa20ac00000000000303', 'body': 'c12101440000000000000000000000000000000001df', 'message type': '03', 'body type': 'c1'} 2023-08-23 14:00:22.591 DEBUG (Sonia) [custom_components.midea_ac_lan.midea.core.device] [146235046619319] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0, 'indirect_wind': False, 'screen_display': False} 2023-08-23 14:00:25.532 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa2bac00000000000304', 'body': 'a300000000000000000000000000000000000000000000000000000000000001bc', 'message type': '04', 'body type': 'a3'} 2023-08-23 14:00:25.533 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Unidentified protocol 2023-08-23 14:00:27.558 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Checking new cycle. hvac_mode=cool, security_state=False, preset_mode=none 2023-08-23 14:00:27.558 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - power not configured. check_overpowering not available 2023-08-23 14:00:27.558 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - checking security delta_temp=0.9 delta_ext_temp=3.0 mod_cond=True temp_cond=False climate_cond=True switch_cond=False 2023-08-23 14:00:27.559 DEBUG (MainThread) [custom_components.versatile_thermostat.climate] VersatileThermostat-Sypialnia Versatile - Calling update_custom_attributes: {'hvac_mode': <HVACMode.COOL: 'cool'>, 'preset_mode': 'none', 'type': 'thermostat_over_climate', 'eco_temp': 0.0, 'boost_temp': 0.0, 'comfort_temp': 0.0, 'eco_away_temp': 5.0, 'boost_away_temp': 5.0, 'comfort_away_temp': 5.0, 'power_temp': None, 'target_temp': 25.0, 'current_temp': 26.4, 'ext_current_temperature': 27.6, 'current_power': None, 'current_power_max': None, 'saved_preset_mode': 'none', 'saved_target_temp': 25.0, 'saved_hvac_mode': None, 'window_state': None, 'motion_state': None, 'overpowering_state': None, 'presence_state': 'on', 'window_auto_state': False, 'security_delay_min': 15, 'security_min_on_percent': 10.0, 'security_default_on_percent': 0.0, 'last_temperature_datetime': '2023-08-23T13:59:34.238824+02:00', 'last_ext_temperature_datetime': '2023-08-23T13:57:28.321027+02:00', 'security_state': False, 'minimal_activation_delay_sec': 60, 'device_power': 1.0, 'mean_cycle_power': None, 'total_energy': 0, 'last_update_datetime': '2023-08-23T14:00:27.559082+02:00', 'timezone': 'Europe/Warsaw', 'window_delay_sec': None, 'window_auto_open_threshold': None, 'window_auto_close_threshold': None, 'window_auto_max_duration': None, 'underlying_climate': 'climate.145135534992923_climate', 'start_hvac_action_date': None} 2023-08-23 14:00:27.565 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_security_state - climate state change 2023-08-23 14:00:27.565 DEBUG (MainThread) [custom_components.versatile_thermostat.binary_sensor] Sypialnia Versatile_presence_state - climate state change 2023-08-23 14:00:27.565 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_temp_datetime - climate state change 2023-08-23 14:00:27.565 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_last_ext_temp_datetime - climate state change 2023-08-23 14:00:27.565 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_temperature_slope - climate state change 2023-08-23 14:00:27.565 DEBUG (MainThread) [custom_components.versatile_thermostat.sensor] Sypialnia Versatile_energy - climate state change 2023-08-23 14:00:28.522 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa2bac00000000000304', 'body': 'a534003400000000d30900000000000000000000590000607428000000000001f0', 'message type': '04', 'body type': 'a5'} 2023-08-23 14:00:28.522 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Unidentified protocol 2023-08-23 14:00:31.518 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.devices.ac.device] [145135534992923] Received: {'header': 'aa2bac00000000000304', 'body': 'a600000000000000000000000000000000000000000000000000000000000001fb', 'message type': '04', 'body type': 'a6'} 2023-08-23 14:00:31.518 DEBUG (Sypialnia) [custom_components.midea_ac_lan.midea.core.device] [145135534992923] Unidentified protocol
Hello @kuba1975 ,
For issue https://github.com/jmcollin78/versatile_thermostat/issues/99 I have made a beta release. Because your issue seems to be related with a similar case, it is possible that the beta release https://github.com/jmcollin78/versatile_thermostat/releases/tag/3.3.6.beta1 fixes the issue.
Can you please have a try with this beta release ?
EDIT: your logs are on a unique line and then I can't exploit them.
EDIT2: this messages seems to show that VTherm is in HVACMode cool and is not OFF:
Underlying climate changed. Event.new_state is <state climate.145135534992923_climate=cool
...
Calling update_custom_attributes: {'hvac_mode': <HVACMode.COOL: 'cool'>
So for me the VTherm is in cool mode. I'm not sure to understand your problem
Thanks for checking. I am away this week, let me try the beta as soon as I will be back.
I have release the changes into the release https://github.com/jmcollin78/versatile_thermostat/releases/tag/3.3.7 Let me know if this fix the bug and close this issue if ok.
Helllo @jmcollin78 No, sorry but It did not help, when I turn the cooling on immediately AC is turned off. I have also noticed that the program automatically changes the FAN mode to Auto. No matter what I chose from the list, seconds later it is being switched to Auto. This is regardless the state Thermostat is in. many thanks for trying though...
I'm sorry to hear that. Will close this issue.
Version of the custom_component
3.3.5
Configuration
Loads default set of integrations. Do not remove.
default_config:
Load frontend themes from the themes folder
frontend: themes: !include_dir_merge_named themes
Text to speech
tts:
logger: default: critical logs: cstom_components.versatile_thermostat.climate: info
template:
virtual:
switch:
binary_sensor:
Describe the bug
A clear and concise description of what the bug is. Cannot set the termostat to Cool (in fact anything else not working either) once AC mode is enabled in configuration settings. Once I manually change the Mode to Cool (from OFF) it immediately turns OFF. On the other hand if AC mode is not enabled in configuration settings thermostat does not switch off once the target temperature is achieved. Here is the log from error:
Here are my settings: