Update notifications! Core, HACS, Supervisor and Addons (now a blueprint!)

So I made a blueprint

2022.4 required since its entirely based on update entities. It's pretty cool. The notifications look great, you get one per addon/HACS component with an update (instead of a generic one), it can replicate them to HA persistent notifications, and it includes update, skip and changelog actions on each one.

I'm not ready to replace the package at the top with it though because of one big problem - you have to list all the update entities you want to watch. I really couldn't figure out any good way to send a notification any time any update entity turns on without requiring you list them. My ideas in the reply right above didn't really work. The only way I was able to get it to work was like this:

mode: parallel
max: 1000
trigger:
  platform: event
  event_type: state_changed
condition: "{{ trigger.event.data.entity_id is search('^update[.]') }}"

But this literally triggers on every state changed event. Like all of them, it's awful. Trying to filter the trigger based on new_state and old_state would be better but it didn't work. Even my example above just never triggered, seems you can't put new_state and old_state filters in event_data like that.

I think what I'll need is for the package to include the blueprint and an automation which writes out a file with a list of all update entities and keeps it up to date. This way the file can be used in a state trigger with !include. Fortunately I have such an automation, I just need to clean things up and make it publishable. Then I'll update the top post.

EDIT: Actually I forgot that the blueprint's polling loop for reminder_hours will inform you about every update, not just the ones you manually listed in update_entities. So I think that alleviates my concerns. You don't have to list every update entity out manually, you only have to list out the ones you want to be notified about immediately. All others you'll get notified about in 1-24 hours (whatever you set reminder_hours to). Which seems good enough.

So I suppose I will update the top post then. This has become just a blueprint! :tada: :partying_face: