1) Give a description of the problem
it’s more than me needing education and right way to add commands in core than a problem
in the below piston
small press is supposed to turn on lights to soft white/2700K, if initial light state is off it will do it just fine, however if last state was dark turquoise (after double press), single press will turn off light (toggle) but next single press will turn on light to blue turquoise again somehow, next single press will turn light off, and the next one will finally go to soft white
I feel it’s just because Im not using the right commands and likely not in the right order, not sure what should come first level/color/temperature because sometimes light comes on then increases/decreases in intensity due to the level I set (instead of going to that level directly)
2) What is the expected behavior?
colors/temp/level to be accurate
3) What is happening/not happening?
as above
**4) Post a Green Snapshot of the piston!
5) Attach any logs (From ST IDE and by turning logging level to Full)
I can provide it but likely not needed
REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.