Condition/action against all members of a group?

I have a group of 11 shutters. All of them are the same type/make. I want to create a script that will perform this: If any of the shutters is at a level higher than X, lower it to X (if it’s at X or lower, don’t touch it).

Now I can obviously stack 11 condition+actions, going one by one. Is there a more elegant way of doing this, like iterating against the group?
Thanks for any insight.

You can use templates to create a list of the entities that match your criteria and supply that list to a service call.

1 Like