I have a group of all rollershutters to send e.g. a DOWN to the group
but
my government (wife) wants the possibility to dyncmically exclude blinds if the command is send to the group.
therefore I created a helper item for every blind “Switch shutterbedroom_automode”
If I create a rule e.g. move all blinds from the rollershutter group DOWN at 11pm BUT only if the helper item AUTOMODE is true for that blind
Then the DP applies. Name the helper Items so you can construct it’s name based on the rollershutter name. Then in the Rule you can do a Group operation along the lines of:
Rollershutters.members.forEach[ rs |
val override = Overrides.members.findFirst[ o | o.name == rs.name+"_automode" ].state
if(override == OFF) rs.sendCommand(receivedCommand)
]