I have speakers in every room of the house.
When particular events occur some notifications are read from the kitchen speaker.
Instead, I would like only the speaker of the room you are in to work. the simplest solution for me is to generate the same automation for each room “and if” the presence sensor detects the presence read the notification on the speaker in that room. Is it possible to run just one automation to accomplish this?
A single automation that reproduces the notification where it finds the presence?
As a maintainer of such setup I could say that it is possible but that doesn’t mean that it is the most handy solution. Multiple automations tailored for each room is much easier to maintain and to debug. There is really no need to have everything in one big automation.