Closed wandergeek closed 10 years ago
I should be able to use this lib as follows (similar to hue driver)
switch mode { case "hue": <snip> l.Client.LightColour(l.Bulb, &hue, &saturation, nil, nil, &transition) case "temperature": <snip> l.Client.LightColour(l.Bulb, nil, nil, nil, &utemp, &transition)
To send "nil" values just make anything undefined zero.
I should be able to use this lib as follows (similar to hue driver)