Confused about alerts, notifications and persistent notifications

Hi all - I have a list of conditions I’d like to monitor for. If any conditions occur, I’d like them to show up in a Lovelace card. For some of the conditions I’d also like to send a notification to my phone. Currently I’m using an auto-entities card with a template filter to check for all of the conditions and return a list of entities that meet conditions. I have the card configured to hide itself if no conditions are met. This works pretty nicely, but doesn’t tie into any notifications for my phone. Having the ability to dismiss the notifications in the lovelace card would also be a nice bonus. I think the home-feed-card may do this for me, but not entirely sure.

I’m guessing the best way to go about this is to instead generate alerts or notifications, which can goto phone and also be captured by the home-feed-card. However, I’m a bit confused about the differences between alerts, notifications and persistent notifications. Which would be best suited for my use case, or considered standard practice? Is anyone doing something similar?

Thanks
Dave

Persistent notification - a message in the UI until you dismiss it

Notification - a message sent to a device

Alert - a repeated notification about something in an “error” state until that is resolved, your you disable the alert

Persistent notifications and normal notifications are separate, if you send a notification somewhere then that’s not linked to any other notification, persistent or otherwise. Dismissing one doesn’t dismiss the others.

Or unless you restart. So calling it persistent is a bit misleading.

1 Like

@davenaum, what did you wind up doing to solve your use case? I am trying to do something very similar, and I’m struggling to make any of the built-in alerts/notification functionality fit.