How to read a sensor with a homey script

Yeah I need to read back what I have typed first before complaining :slight_smile: but my first script works now:


Makes it much easier than using 3 then cards for every hue light:
image
Maybe I will try to add a possibility to set all the lights in a specific group too, saves a few more then cards…