Press and Hold function on Switch item?

For example, I have a volume control for my television. I have two switch buttons on my sitemap: one for volume up, and one for volume down. Is there a way to enable a “press and hold” such that it will keep sending the command until I release the button? (Similar to a Slider item for the classicUI- http://docs.openhab.org/configuration/sitemaps.html#element-type-slider)

Can this be done? Are there any alternatives?

There may be a way to do something with a custom template in HABPanel. There is no way to do this in any of the sitemap based UIs.

Have you tried a Setpoint in your sitemap?

I’ve tried a sitemap, but I’m having trouble converting the setpoint “receivedCommand” numeric value to an increase/decrease event. I haven’t given up yet, but just a little stuck at the moment.