Skip to content

Bring cgllc.airmonitor.s1 into line#555

Merged
syssi merged 1 commit intorytilahti:masterfrom
syssi:feature/cgllc-airmonitor-s1-refactor
Oct 6, 2019
Merged

Bring cgllc.airmonitor.s1 into line#555
syssi merged 1 commit intorytilahti:masterfrom
syssi:feature/cgllc-airmonitor-s1-refactor

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