(Disclaimer: this subflow might be outdated. I stopped using it myself after switching from hue bridge to deConz)
Subflow to be used with node-red-contrib-huemagic
Example flow
Copy the subflow below to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option
Is there an easy way to add number of presses to this flow? If I want to press a button 4 times and have it perform an action, is that possible?