@areader0 Ive found as my button count grows it can be easier to do something like this:
Screen Shot 2020-06-22 at 2.42.22 pm.png
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