There’s nothing wrong with the automation shown in the first post. There are no syntax errors nor logic errors.
I copy-pasted it into my automations file, changed the entity names to match what I have, then reloaded the automations. I opened the rear door and the family room light turned on and then, 5 seconds later, it turned off. The automation works perfectly as-is.
- id: '1569752830393'
alias: Rear door Opens
trigger:
- entity_id: binary_sensor.rear_door
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
entity_id: light.family
service: light.turn_on
- delay: '00:00:05'
- data:
entity_id: light.family
service: light.turn_off
I also viewed the automation using the Automation Editor and it is displayed correctly. I used it to change the delay to 10
seconds, saved it, reloaded automations, repeated the test and it worked correctly. Nothing wrong with the automation or the Automation Editor.
Small point of order, it’s Automation Editor, not Automation Manager.
