From 4fc1d7fa4e797be92bef933ffce0e54b25e5f1d8 Mon Sep 17 00:00:00 2001 From: ttrabatt Date: Tue, 4 Aug 2026 16:41:52 +0200 Subject: [PATCH] Auto AC removed Manual setting overwrite (not working as expected) --- .../homeassistant/auto_ac_control.yaml | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/blueprints/automation/homeassistant/auto_ac_control.yaml b/blueprints/automation/homeassistant/auto_ac_control.yaml index 0c6bfb6..8a96c5a 100644 --- a/blueprints/automation/homeassistant/auto_ac_control.yaml +++ b/blueprints/automation/homeassistant/auto_ac_control.yaml @@ -69,29 +69,29 @@ triggers: entity_id: !input climate_target attribute: current_temperature id: temp_change - # Trigger instantly when someone manually changes the AC mode - - trigger: state - entity_id: !input climate_target - id: state_change + # # Trigger instantly when someone manually changes the AC mode + # - trigger: state + # entity_id: !input climate_target + # id: state_change conditions: # 1. Verifica di sicurezza sullo stato dell'entità - condition: template value_template: "{{ trigger.to_state is not none }}" - # 2. Se l'automazione sta già eseguendo il "delay" di override, ignora i cambi di temperatura - - condition: template - value_template: >- - {{ not (this.attributes.current == 1 and trigger.id == 'temp_change') }} + # # 2. Se l'automazione sta già eseguendo il "delay" di override, ignora i cambi di temperatura + # - condition: template + # value_template: >- + # {{ not (this.attributes.current == 1 and trigger.id == 'temp_change') }} actions: - choose: # DETECT MANUAL OVERRIDE: Triggered by state change, but context shows it was NOT the automation itself - - conditions: - - condition: template - value_template: "{{ trigger.id == 'state_change' and trigger.to_state.context.id != context.id }}" - sequence: - - delay: - hours: "{{ override_hours | int(2) }}" + # - conditions: + # - condition: template + # value_template: "{{ trigger.id == 'state_change' and trigger.to_state.context.id != context.id }}" + # sequence: + # - delay: + # hours: "{{ override_hours | int(2) }}" # CONDITION 1: Turn AC ON & Adjust Fan - conditions: