Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improvement] Add transistion time #129

Open
neoteknic opened this issue Dec 3, 2017 · 1 comment
Open

[Improvement] Add transistion time #129

neoteknic opened this issue Dec 3, 2017 · 1 comment

Comments

@neoteknic
Copy link

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

@sqmk
Copy link
Owner

sqmk commented Dec 4, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants