Fix AC automation time gate and set explicit temperature

Move time condition into turn-on branch only so the AC can still turn
off after 22:00. Set target temperature to 16°C via climate.set_temperature.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-20 19:20:32 +02:00
parent bc891e01ad
commit d6e1e3d277
+5 -4
View File
@@ -113,21 +113,22 @@
- condition: state - condition: state
entity_id: input_boolean.ac_automation_enabled entity_id: input_boolean.ac_automation_enabled
state: 'on' state: 'on'
- condition: time
after: 08:00:00
before: '22:00:00'
actions: actions:
- choose: - choose:
- conditions: - conditions:
- condition: numeric_state - condition: numeric_state
entity_id: sensor.thermometer_buro_temperature_2 entity_id: sensor.thermometer_buro_temperature_2
above: 27 above: 27
- condition: time
after: 08:00:00
before: '22:00:00'
sequence: sequence:
- target: - target:
entity_id: climate.echos_mobile_klimaanlage_mit_wifi entity_id: climate.echos_mobile_klimaanlage_mit_wifi
data: data:
hvac_mode: cool hvac_mode: cool
action: climate.set_hvac_mode temperature: 16
action: climate.set_temperature
- target: - target:
entity_id: input_boolean.ac_auto_active entity_id: input_boolean.ac_auto_active
action: input_boolean.turn_on action: input_boolean.turn_on