clintm
(Clint)
December 5, 2024, 6:51pm
1
It would be really nice to trigger an automation when a notification is dismissed. This can be used to trigger a timer to delay any more notifications coming through and much much more.
petro
(Petro)
December 5, 2024, 7:05pm
2
This can be done with actionable notifications (No it’s not easy to set up, but there’s a WTH for that)
clintm
(Clint)
December 5, 2024, 7:09pm
3
What’s the link to that one? I’m probably missing the right keyword for search.
petro
(Petro)
December 5, 2024, 7:13pm
4
There’s a few, notifications are kind of a mess (in my opinion).
Trying to send a notification from an automation is a nightmare.
Less technical
Searching for “notif” (to match both “notify” and “notification”) shows, among others:
Persistent Notification: Create
Notifications: Send a notification message
Notifications: Send a notification
Notifications: Send a persistent notification
Notifications: Send a notification via <my_device>
This gives rise to a lot of questions, like:
Why are there 2 different ways (1 and 4) to make a persistent notification…
In order to send an actionable notification to the mobile app and respond to it, I needed to:
Send a notification with actions configured using YAML in data. It must have a tag.
A wait for trigger action: with a trigger for the mobile_app_notification_action event for each possible action id
Clear the notification, by sending a new notification with the same tag and a special message string (clear_notification)
A Choose action for each notification action, using template conditions matching a…
1 Like