Elegant CoRE Double Click / Clickhold Actions?

I use the device handler (not the app) in this thread with my devolo wall switch and it integrates with CoRE to allow me to use various push types as triggers.