I’m trying to use CORE to dim my lights by a value store in a variable(ultimately I’ll have this variable changed at different times or the day). However, whatever this variable is set to it always causes the lights to turn off (hue).
I see what you mean. I had to add an extra task to convert the data type to number, then it worked for me (set the level). Not sure if @ady624 has time to visit this now that he’s working on the web version
Can I set this once at the beginning and the jump into the if light on then statements; I have a lot of these to check if each individual light is on before applying the colour and level change…
Also, is there a way to reorder existing actions ?
It’s currently a global variable as I was planning to have something else run to alter the level at different times of the day. Any implications for using a global variable in this context ?