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

Modified to support zoned cleaning mode of Roborock S50. #160

Merged
merged 1 commit into from
Jan 19, 2018

Conversation

hastarin
Copy link
Contributor

I was having trouble getting my new vacuum working with this and home-assistant.

The above changes have allowed me to get up and running at least. If I notice any other issues I'll do my best to fix them and submit pull requests.

@@ -208,7 +211,8 @@ def is_on(self) -> bool:
"""True if device is currently cleaning (either automatic, manual or spot)."""
return self.state_code == 5 or \
self.state_code == 7 or \
self.state_code == 11
self.state_code == 11 or \
self.state_code == 17

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continuation line over-indented for visual indent

@@ -208,7 +211,8 @@ def is_on(self) -> bool:
"""True if device is currently cleaning (either automatic, manual or spot)."""
return self.state_code == 5 or \
self.state_code == 7 or \
self.state_code == 11
self.state_code == 11 or \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continuation line over-indented for visual indent

@coveralls
Copy link

coveralls commented Jan 19, 2018

Coverage Status

Changes Unknown when pulling 9d843d9 on hastarin:master into ** on rytilahti:master**.

@rytilahti
Copy link
Owner

Thanks! (let's ignore that noise from houndci and merge)

@rytilahti rytilahti merged commit f5f4bbe into rytilahti:master Jan 19, 2018
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.

4 participants