Phue icon indicating copy to clipboard operation
Phue copied to clipboard

[Improvement] Add transistion time

Open neoteknic opened this issue 6 years ago • 1 comments

Add transition time to setRGB($r,$g,$b,$transistiontime=null) and other method in the light class. I will send a pull request soon.

neoteknic avatar Dec 03 '17 20:12 neoteknic

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.

sqmk avatar Dec 04 '17 20:12 sqmk