-
Notifications
You must be signed in to change notification settings - Fork 13
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
Development #23
Development #23
Conversation
- Fixed bug when receiving Off Button when an other group was selected before. - Don't set color and brightness when turning on via zone 0 - reflect all changes made to zone 0 to all other zones
I hope you can merge it. I tried to merge your changes into my fork, but I couldn't handle it. |
Update to latest master version
I think now I got everything correct ;-) |
|
||
MilightRF24::__proto__ = events.EventEmitter.prototype |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why you do it that way?
Wouldn't class MilightRF24 extends events.EventEmitter
have the same effect?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe
This was how I found it in an example.
I will change it and try it out.
2015-08-04 14:43 GMT+02:00 philip1986 notifications@github.com:
In devices/milightRF24.coffee
#23 (comment)
:
- MilightRF24::proto = events.EventEmitter.prototype
Why you do it that way?
Wouldn't class MilightRF24 extends events.EventEmitter have the same
effect?—
Reply to this email directly or view it on GitHub
https://github.com/philip1986/pimatic-led-light/pull/23/files#r36182778.
Could you please also add some commands to the code, specially how the classes |
I added some comments and improved the code |
Are this enough comments? |
Yes, thanks a lot. |
When you will merge it? |
Sorry, its been a while. As I told you I like to have some tests for the plugin. So, I took your branch and add some basic ones. Would be nice if you extend then, e.g. when one device isn't in zone 0. I am going to close this PR and open a new one with my modifications. Please have a look at it. Cheers, Philip |
No description provided.