I have a SmartButton from Phillips hue. Each time I press it, it increase a variable X (with better logic).
I have several flows wich start when X is equal to a certain number. With that way I can activate an unlimited number of scene.
If I want to activate the 3rd flow, it will first active the 1 then 2 then 3.
I want to press X time on the button and activate only the Xth flow.
How can I do that ?
Is there a way to wait 2s before checking the value ?
Thanks for your help.