Automation for multiple entities (shutters) with trigger for each entity

Hi everyone,
I have a question: it’s possible to create an unique automation with multiple trigger but each one for a different entity (like diagram attached) ?
I need this because, now, when it’s 9.00PM all my rollers starting close but if someone is already closed, my Bticino K4027C (actuator) stay triggered all time.

Thanks for all

Yes it is possible, see: https://www.home-assistant.io/docs/scripts/#if-then

thanks but i’m not an expert for this. Can you help me with an example?

If-then is available through the UI and seeing as you already have the logic process down (in your diagram) it should be quite easy for you to do this.

You might also prefer to use the Choose action rather than nesting If-Thens.

Those if-then would not be nested. There would be one after the other.

I’d wrap them all in a run in parallel. It’d be much cooler to have all the open ones close at the same time instead of waiting for the previous one to finish.

Just my opinion.

Oh yeah, of course. For some reason, the logic in my head nested the next IF inside the previous ELSE which is not necessary.

If you need multiple actions for one trigger, I’m assuming you’d want to use an If-Then whereas the Choose will only run one action per trigger.