Define variable to record dim level


#1

1) Give a description of the problem
I am using a Pico button command to randomly change the color of a Hue Lightstrip.

3) What is happening/not happening?
However, the color change also changes the light level. I would like to store the light level prior to the color change so that I can reinstate that same level after the color change. I know how to define a physical device variable and store an action event physical device to that variable. But I don’t know how to do that for a light level. Any suggestions?


#2

Post a green snapshot of your existing piston or a simplified version of it so we may offer suggestions.