-
-
Notifications
You must be signed in to change notification settings - Fork 566
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
improve gateway light class #770
Conversation
cleanup the gateway light class and add missing functionality needed for HomeAssistint
@rytilahti I just fully tested this code and works just fine. |
@rytilahti any more suggestions? |
@rytilahti are the docstrings more clear now? |
@rytilahti all test pass again. |
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.
I think it's good to go after those minor changes :-)
edit: could you also make the title and the description of the PR a bit more detailed?
Co-authored-by: Teemu R. <tpr@iki.fi>
Co-authored-by: Teemu R. <tpr@iki.fi>
Co-authored-by: Teemu R. <tpr@iki.fi>
@rytilahti done, ready to be merged |
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.
Looks great 👍
* cleanup gateway light class cleanup the gateway light class and add missing functionality needed for HomeAssistint * process revieuw comments * add valid color names to docstring * update docstring * Update class docstring * fix linting * fix black * Update miio/gateway.py Co-authored-by: Teemu R. <tpr@iki.fi> * Update miio/gateway.py Co-authored-by: Teemu R. <tpr@iki.fi> * Update miio/gateway.py Co-authored-by: Teemu R. <tpr@iki.fi> * use Tuple type Co-authored-by: Teemu R. <tpr@iki.fi>
cleanup the gateway light class and add missing functionality needed for HomeAssistint