Red Switch + NodeRed + Hue = Dimmer Flow?

I was able to get a hue light to work reasonably well with dimming in node red, it’s still not perfect but it works for me. I’m on my phone now but I can try to send my flow later.

Basically, the loop continues while hold is pressed but stops when release is detected. Then you configure the loop frequency and increase brightness percentage you prefer per step of the loop. I also set transition for each change to smooth out the dimming a bit. Here is a screenshot of the loop I’m using.

I switched over to node red for my lights earlier this year and it’s become much easier for me to manage in home assistant (after you get the hang of it).