Automation - looping through active members of group

Hi,
I’m trying to optimize an automation a bit.
Today I having an automation for our robot vacuum cleaner.
It’s stright forward with a number of boolean helpers for each room/area, and then the automation just goes through the one at the time, and if the helper is “on” then it will send the robot to that destination.
That is working.
What I would like to do is to use a group I have created with all the helper booleans for selecting the area, and then loop through that group, and if a member is active/“on”, then it should send the robot to that area, and use the same logic as current ( eg start cleaning kitchen → wait for robot to come back → disable helper “kitchen cleaning”).
I’m kind of stock on how to get the loop to work.
Can someone guide me a bit? :slight_smile:
Group ID: group.group_stovsug_nogen_zoner
Some of the members: input_boolean.stovsug_kokken, input_boolean.stovsug_gang, input_boolean.stovsug_spiseplads
Br,
Anders

which vac - what happens if you send it off to 4 rooms and its battery wears out halfway through 3? Does it return / charge / clean on its own or?

Roborock does this and you can use it to your advantage.

If so,
Spin through ALL the rooms that are on at the time you want to run your cleaning and build the command that fires it for all the rooms. Then let it go. It runs through the rooms charges returns until done. Next cycle do it again…

I haven’t tried that it wears out for a room or two. The entire house, it will return to the base for charging.
it’s a Neato D7. It doesn’t support selecting multiple rooms at once. Either entire house, or a single area.
My solution is to clean one room, let it go to the dock, and go to the next room.