Set Hue lamp to color/brightness/hue/temp using variable

Hi all,

I’m looking into saving the current values from my HUE (directly linked to Homey) lamps in to a variable and use this at a later stage.
Why? When my alarm kicks in I want all lamps to go to blinking red, when the alarm state is stopped, I want my lamp to return to their originial state, so on/off, brightnes, hue, temp etc.

I found a way to save the values to a variable, I also found the card ‘Set the hue’ or ‘Set color’ etc for my lamps. When using this I can also use a value but I can’t seem to use my previously created variables.

Any help?

Found it, had to use number variable. When this is used I can use the variable when setting the Hue