I tried setting a notification for when i leave the garage door open, instead it just tells me the door was opened 30min ago. What did i do wrong? I just want to know if after Xminutes of binary_sensor being on, send notification.
alias: Garage Door notification
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.shelly1_98cdac0ce253_input
from: "off"
to: "on"
for:
hours: 0
minutes: 30
seconds: 0
condition: []
action:
- metadata: {}
data:
message: Garage door is open
action: notify.notify
mode: single