I created simmilar scene for use with Dimmer 2, which works but it uses older send scenes, but I wanted to create something for switches and RGBW modules, Walli controllers and others.   I created scene which should work, but it does not and even Toggle ends in Error. It can be used not just with Hue but with Z-Wave devices too, so I test it on Z-Wave devices.   Scene condition (left part of scene): Please login or register to see this code.   Scene body: 92757db3427bd5