You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should belong in the SetLightState command, and not applied to every Phue/Light state changing method.
If you wanted to, you could implement the model design that I use for managing lights, sensors, groups from https://github.com/sqmk/huejay. With that library, you can change various properties on each individual light, and then save each light, with all updated attributes being sent to the bridge.
Add transition time to setRGB($r,$g,$b,$transistiontime=null) and other method in the light class.
I will send a pull request soon.
The text was updated successfully, but these errors were encountered: