20.02.2019, 07:39
Why not use a formula to calculate warm/cold white values based on color temp instead of copy-pasting hundreds lines of code?
For control you probably need just two objects: dimming and color temperature. If binary control is also needed you just create a script that sets dimming and color temperature to preset values.
For control you probably need just two objects: dimming and color temperature. If binary control is also needed you just create a script that sets dimming and color temperature to preset values.