I would like to have my (somewhat buggy) automations notify me that they’ve completed/executed successfully. I don’t really care to receive this on my mobile device, but I’d like it to be there when I have tome to log in to HA.
The way to do it seems to be to use persistent_notification. If I were the only user, indeed that would be sufficient. But we are a few and I don’t want the others to see that there are notifications of this sort when they are looking at the weather.
So I would like send a notificaton to the web interface only for me/all admins. Is that at all possible?
I know it does get triggered, but I want to debug my choose/conditions logic on the action end, so I would like to get a different message depending where to ends up, before I forget about it and let it run.
In principle some way of writing to the log for me to see would be an alternative, although probably less convenient, given the fact that the log has a lot of stuff.
For one-off messages you could use a service like Clicksend to send yourself an SMS (it’s PAYG), or you could write messages to the log. Or both:
- data:
message: Movement has been detected
service: notify.clicksend
- data:
level: warning
message: Movement has been detected
service: system_log.write
The second is probably better if you want to trace the logic of your automation. You can set up a logbook card on a dashboard to filter messages.