Hi guys,
I’m having a weird issue with my AC automation, not sure why it is not running.
Automation goal: When AC 1 has been running (state = cool) for 1 hour, turn off AC 1 and start AC 2. I have another automation that will turn off AC 2 and start AC 1.
Anyway the problem is when I set the AC 1 to cool for 1 hour the automation will not trigger (Turning AC 1 OFF & AC 2 ON), but when I set it to 5 min it works perfectly.
Here is the code, appreciate your help.
If there is a better way to implement this please share.
alias: AC - Shift after 1H - Entrance Hall > OFF | Living Room > ON
description: ""
trigger:
- platform: state
entity_id:
- climate.ac_entrancehall
to: cool
for:
hours: 1
minutes: 0
seconds: 0
condition: []
action:
- service: climate.turn_off
data: {}
target:
entity_id: climate.ac_entrancehall
- service: notify.mobile_app_fold_3m
data:
message: Entrance Hall AC Turned OFF
title: "AC Update:"
- delay:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
- service: climate.turn_on
data: {}
target:
entity_id: climate.ac_livingroom
- service: climate.set_temperature
data:
temperature: 20
hvac_mode: cool
target:
entity_id: climate.ac_livingroom
- service: notify.mobile_app_fold_3m
data:
message: Living Room AC Turned ON
title: "AC Update:"
mode: single