Using bspranger DH for an Aqara wireless mini switch. The app only detects single presses. If I hold, it detects the hold and then a press when I release. Double tapping doesn’t get reported. But the web shows all the correct presses in my logs. I’m trying to set it up to be used as a button for shades (press to lower, hold to raise). So if I try to hold the shades start raising but as soon as I release it detects a press and lowers the shades.
Unfortunately it’s hard to achieve behavior you want.
The driver you are using is executed in the cloud and there is a noticeable lag between button release and action.