My automation is set to
Trigger “ when my front door is closed for 1 hour”
Condition “ If I am away”
Action “ lock my front door”
The problem is when I go to work my door never lock because my condition did not pass. ( I also set zone for work and it less than 1 hour to go there).
description: ""
mode: single
triggers:
- trigger: state
entity_id:
- person.warlion
conditions:
- condition: not
conditions:
- condition: state
entity_id: person.warlion
state: home
actions: []