[Solved] Turn on multiple Devices as Groups?

Hi there,

i migrate my SmartHome from FHEM to OH2.
In FHEM i can create a Structure so i can turn on multiple Lights with one Command.

Is it possilble in OH2 too? So i can create one Switch that will turn on all my lights in the Livingroom?

Thanks.
Regards
Hermann

Group  g
Switch s1 (g)
Switch s2 (g)
sitemap tmp label="TMP" {
 Switch  item=g
 Default item=g
}
Group:Switch g

And if you use rules:

g.sendCommand(ON)

Ohh…thanks. That was easy :slight_smile:

and sorry for my simple question :wink:

Regards
Hermann