Hello folks, absolutely new to Node-RED (but not visual scripting / code) so appreciate any help you can provide to get me up to speed with things.
I’m using the Node-RED add-on (v20.0.0) inside of HA.
For my first flow, I thought I’d just keep things simple and setup a flow whereby a light turns on / off depending on a motion sensor. I happily managed to get that up and running:
Since I don't know what comes out of the motion sensor node its hard to be more specific, but I would think you need a change node after the random node to move the payload value to the rgb_color property.