Is it possible to have an alert definition which creates notifications that inform you about the time the alert is up? I want to have an alert for having the front door open and I want to get notified after 3mins, 5, then 10, 15 etc. And I would like to get a notification like “The door is already open for 8 minutes” instead of “The door is already open pretty long ”. Can somebody help me how to implement this, ideally only with a proper alert definition. Is it possible to get context values like this time and then use it in a template for the notification?
message: "🚪The door has been open for {{ relative_time(states.binary_sensor.your_door_sensor_here.last_changed) }}"
1 Like
Okay, that was helpful. I was probably too much focussed on the alert entity. Thanks!