Double-Tap Button

I have replaced my keypad with three buttons. For now, I've used them as contact sensors and made an automation in hubitat to trigger smart bulbs when the contact closes. However, now I would like to have double-tap and hold. The hubitat forum told me to come here, as they said creating automations to detect double-taps would be unreliable due to the communication time between hubitat and Konnected. Could you please implement a button feature, with double-tap and hold (also please make the time the double-tap and hold must be done in adjustable). I have tried the panic button but it seems to be just a contact sensor.