Foddy / node-red-contrib-huemagic

Philips Hue node to control bridges, lights, groups, motion sensors, temperature sensors and Lux sensors using Node-RED.
https://flows.nodered.org/node/node-red-contrib-huemagic
Apache License 2.0
200 stars 67 forks source link

Fix update gradient colors instead of concat #371

Open schnyderyx opened 2 years ago

schnyderyx commented 2 years ago

The colors array of the gradient object will be concat with the previous entries. Due to this the array gets longer and longer. If an update contains the gradient object the gradient of the previous state will be deleted now.