Does anyone know if there are examples like this. I want to get a notification system in HA. It needs to be able to send the right notification at the right time on the right device.
For example, when the dishwasher is done, it sends a spoken notification to the nest hub in the kitchen, that is if the TV is on. If the TV is not on, but the computer is, it needs to send that notification to the computer room. At night it needs to hold the notifications and send them to the phone of the person that is the first to wake up. When we are not at home, we all get the notification on our phone. Also, when the dishwasher is emptied and the other person ticks the notification f.e.), and there's still a notification on a phone, it needs to disappear.
This is only one example, there are more things that can have a notification (another one could be a home greeting message), but it needs to be a system.
Should be able to just do it with automations and include "choose" action. 2024.1 looks like it makes it easier building blocks.
This is the answer. I have a handful of notifications setup this way. My routing logic tends to be much simpler but that's what "choose" is for.
The only tricky one may be to hold the notifications until later. I probably wouldn't bother with that personally. Instead I use the do not disturb functionality on the phone.
https://companion.home-assistant.io/docs/notifications/actionable-notifications/
Looks nice at first sight. I'll definitely check it out thoroughly. I think it's exactly what I need. Thanks.