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

Bring cgllc.airmonitor.s1 into line #555

Merged
merged 1 commit into from
Oct 6, 2019

Conversation

syssi
Copy link
Collaborator

@syssi syssi commented Oct 6, 2019

We are trying to avoid I/O at the constructor. If we want to retrieve the model this approach should be used:

https://github.com/rytilahti/python-miio/blob/master/miio/airhumidifier.py#L257
https://github.com/rytilahti/python-miio/blob/master/miio/airhumidifier.py#L282-L283

@coveralls
Copy link

coveralls commented Oct 6, 2019

Coverage Status

Coverage increased (+0.07%) to 72.218% when pulling 98998ee on syssi:feature/cgllc-airmonitor-s1-refactor into 63a47fa on rytilahti:master.

@syssi syssi merged commit 03d9e5f into rytilahti:master Oct 6, 2019
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.

2 participants