I have the following alert
gate_open:
name: Gate is open
done_message: Gate is closed
entity_id: binary_sensor.main_gate
state: "on"
repeat:
- 2
- 5
can_acknowledge: true
skip_first: true
notifiers:
- notify_alert_chris
data:
actions:
- action: "event_close_gate" # The key you are sending for the event
title: "Close Gate" # The button title
And it works great.
However I would like 1 change, would it be possible to show the action on the notification only when the gate is open?
Currently i have this
Any help would be appreciated.
Regards
Chris