In order to notify all users through HA, I have to create a notification group in YAML that names individual devices, which is clunky and annoying to maintain. There should be a way to just select the users you want to notify through the UI when using the Notify action. Notifications should then go to all of the devices where that user is logged in.
There’s already work ongoing on this.
If you look at the file
integration, you’ll see that there is a notify entity created, which can be targeted using the notify.send_message
action.
In the end all integrations using notifications should move to this way of working. Then you can group the notify entities (which can be done in the GUI)
I’m only not sure what you mean with that last part. HA core doesn’t really have a notice of who’s logged in. A notification is sent to a device, like a phone (using the companion app). It doesn’t really care which user is logged in on that particular phone.