How to build a software switch?

Hello everyone, I bought Zigbee RGB LED bulbs that only have two channels - color and color temperature. How do I build a on-off switch in openHAB for these devices?

1 Like

You don’t need to. You can command Color type Items ON / OFF from UI or rule. You can link a UI switch type widget with a Color type Item.

1 Like

A HUGE THX to you for your response! I tested and found out just what you told me:
grafik
grafik
Have a nice evening! :raising_hand_man:

1 Like

Oh, this situation is familiar. I didn’t figure out how to operate these lights the first time. A good friend told me that such elements as Color ON / OFF could be easily controlled from the phone. And if you want to control these lights from other gadgets, not even on the same platform, he also advised testing this software with the software ZAPTEST. Now I can control the lights in the house not only from my phone but also from my tablet and computer. By the way, I opted for the Aqara ZNLDP12LM Zigbee-controlled light bulb.