[SOLVED] Best way how to broadcast cmd to group?

Hello folks,
What would be best approach to broadcast CMND message for Things which are in one group?
They are on mqtt (and they can’t monitor same topic obviously) so I’m looking for some hint how to construct rule simple enought which do not need to have all things one by one, but will distribute proper cmnd to the group members.

something like

rule "something"
when Item A changed
then
sendcommand(OFF).gSwitches
end

where gSwitches contains all kinds of various stuff :wink:

any ideas?

gSwitches.sendCommand(OFF)

is it really working like that on a group? have to try :wink:

OH has been able to send command to a group for as long as I can remember with OH groups :slight_smile:

najs, working as needed. Thanks :wink: