1) Give a description of the problem
Trying to figure this out and can’t seem to get it. I have a piston that does a simple toggle of my LIFX lights. That works fine.
What I’m trying to do is adjust the color and levels when it goes into the on state. The problem is when it goes into the off state it turns it back on again because of the level/color steps in the piston.
Is there a way to only make it adjust color/level when its in the on state of toggle, and just turn off when its in the off state of toggle?
2) What is the expected behavior?
First button push turns on lights, adjusts level and sets color. Second button push only turns off lights. Third push will turn on lights, adjust level, set color, etc.
3) What is happening/not happening?
First toggle turns on light, adjust level, sets color, second turns off lights, and then turns them back on immediately and adjusts level and color.
**4) Post a Green Snapshot of the piston![image|45x37]
Attached