Hi,
We have a general BTicino thread we could use; although its not so easy to find and not so often frequented.
https://community.openhab.org/t/bticino-myhome-suite-documentation-and-basics
I have switches responding to long and short presses with different actions. Please post on the above thread and I will respond there. I think I see reason for your problem.