Hue Philips Dial Tap - Node Red

Hello,
With to the use of several sources:
https://flows.nodered.org/flow/908b8dd4d4cc55f5e9c25f2e55bc518f
https://flows.nodered.org/node/node-red-contrib-cycle
https://flows.nodered.org/flow/818efaaa6bf099bbf4a4e25f6a2dba99
https://smarthomegeeks.io/hue-tap-dial-switch/
https://rudd-o.com/linux-and-free-software/make-the-philips-hue-tap-dial-control-anything-in-your-home
I managed to make a mix of all these.
Using the Dial to select Ambiance ( + and - ), light, double, triple, quatro clic, brightness, color temperature, sound, volume.
No doubt there’s still room for improvement, but thanks to those whose ideas, Youtube demonstrations and explanations, multipress palette, cycle, etc., I’m sure you’ll find it useful.
Anyway, here under Zigbee2Mqtt and Sonos, I share my work because I’m a newbee :slight_smile: Don’t hesitate to come back to me to correct things.
From time to time, there are bugs, but I’m happy with my progress :slight_smile:
Many night in this flow :slight_smile:

https://pastebin.com/fcS5cHP9