I’ve created an automation where the thermostat changes at home when I’m at work. However, the entity person.zac never changes state to “Zac Work” (which is what is suggested in the UI dropdown). Instead my person only updates to not_home.
What am I missing here?
alias: Thermostat - Zac Work
description: ""
triggers:
- trigger: state
entity_id:
- person.zac
to: "Zac Work "
for:
hours: 0
minutes: 30
seconds: 0
- trigger: state
entity_id:
- person.april
to: home
for:
hours: 0
minutes: 30
seconds: 0
conditions:
- condition: state
entity_id: person.zac
state: "Zac Work "
- condition: state
entity_id: person.april
state: home
actions:
- choose:
- conditions:
- condition: device
device_id: c685b47d0f7547f7e50a7fbae1a8204a
domain: climate
entity_id: 63bafa71fc35e9d709d630b1bc0a013a
type: is_hvac_mode
hvac_mode: cool
sequence:
- action: climate.set_temperature
metadata: {}
data:
temperature: 78
target:
entity_id:
- climate.downstairs_thermostat
mode: single