[SOLVED] On/Off Switch for a group of Hue bulbs

@vzorglub

That works!! Thanks a bunch,Vincent !

Since this has become a long thread, here’s what is a workable solution: define the items as dimmers with their color_temperature channel in a group and define a switch object in the UI and have it refer that group

default.sitemap:

sitemap default label="Home" {
    Frame label="Living Room" {
        Switch item=ColorTemperature
    }
}

default.items:

Group ColorTemperature
Dimmer ColorTemperature1 (ColorTemperature) {channel="hue:0210:001788215454:7:color_temperature"}
Dimmer ColorTemperature2 (ColorTemperature) {channel="hue:0210:001788215454:8:color_temperature"}
Dimmer ColorTemperature3 (ColorTemperature) {channel="hue:0210:001788215454:13:color_temperature"}

That is because a dimmer item also accept the commands ON and OFF as well as a value of course and the commands INCREASE and DECREASE

1 Like