Hi, I am trying to get an automation working for a binary_sensor door contact I have. Even though I see the status changing from "Open" to "Closed" in home assistant, this automation is not firing. The only thing that seems suspect to me is that the "to" field has Open instead of on/off, but that's what the HA UI has in the dropdown box for the status.
alias: Front Door Open Too Long
description: ""
triggers:
- entity_id:
- binary_sensor.front_door_contact
to: Open
for:
hours: 0
minutes: 1
seconds: 0
trigger: state
from: null
conditions: []
actions:
- data:
message: ":red_square: The Front Door has been open for over a minute."
target:
- "redacted"
action: notify.grace_hollow_home_assistant
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
enabled: true
mode: restart