@areader0 Ive found as my button count grows it can be easier to do something like this:
The set each button up to call:
/flic/{room}/{location}/sc
/flic/{room}/{location}/dc
/flic/{room}/{location}/lc
for single, double and long clicks respectively.
Then just wire each node-red http receiver to your MQTT topic of choice.
Cheers