1) Give a description of the problem
I’ve been trying to figure out how to Toggle between 2 LIFX scenes using a Hank 4-button switch.
2) What is the expected behavior?
When the button is pressed light turns on/off (this is easy, no problem there)
When the button is held toggle between ‘LIFX scene 1’ and ‘LiFX scene 2’
So that each time button is held it switches to one scene or the other
3) What is happening/not happening?
I tried setting if conditions to control it with no luck, I’m newish to coding so I’m a little lost to be honest. I’m sure there is an easier way to do this. Any help would be greatly appreciated!!!