Debouncing Switch - Fibaro Module

I’m using a Fibaro Single Switch 2 which controls the fan in our bathroom.

I want to use the 2nd button to switch on/off the ceiling lights, which are Hue Bulbs.

I’ve set up a flow which can toggle the Hue Bulbs on and off happily However when I trigger this from the 2nd button e.g. 1x press, or long press it will appears to run the flow twice.

It seems I might need to debounce the instruction. Has anyone had to do this before? How can I do this?

Thanks

Karl

Not quite sure how your setup looks exactly. But it might be easier to just change the operation mode of the swtich. It sounds like you are using it in toggle mode with a push button. Just a wild guess