Okay, so guessing you have a Rollershutter type Item, displayed on a sitemap as Switch type, which brings up the three-button VdownV XstopX AupA looking widget.
As you say, it’s a simple tool and responds to presses with UP STOP DOWN, it is not possible to distinguish long and short presses.
This looks related
It’s a bit of a messy story, but contains the right ideas