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

Promise chainings and Powerstrip #61

Merged
merged 5 commits into from
Nov 17, 2018
Merged

Conversation

notabene00
Copy link
Contributor

@notabene00 notabene00 commented Nov 17, 2018

miIO methods are returning Promises, witch can be nicely handled by capability listeners.
P.S. The UnhandledPromiseRejectionWarning: Error: invalid_capability in stderr is not my bad.

Simplification of the processing result
Fix for powerState and powerConsumption implementation
Fix for powerState and powerLoad implementation
@notabene00
Copy link
Contributor Author

notabene00 commented Nov 17, 2018

#16 partially implemented
2018-11-17 18 16 55
2018-11-17 18 11 22

@notabene00 notabene00 changed the title Small impovements Promise chainings and Powerstrip Nov 17, 2018
@jghaanstra
Copy link
Owner

Nice going, should I merge already or are you working on more improvements?

@jghaanstra jghaanstra merged commit 4da6ea5 into jghaanstra:master Nov 17, 2018
@jghaanstra
Copy link
Owner

Thanx, merged.

@notabene00
Copy link
Contributor Author

If there will be another thing I can do, I’ll send another PR. Sorry for my English, hope that the message is clearly understood :)

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

Successfully merging this pull request may close these issues.

3 participants