Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@alexpinin
Copy link
Contributor

Found an issue in miio/viomivacuum.py start_with_room()

Lines 633 and 635: the room_ids is being appended and passed to vacuum as a string, that the vacuum doesn't understand.

Line 642: According to the description in the method start() the params [0, 1, 3, 11, 12, 13] = start cleaning rooms 11-13, but the line 642 build the line [0, 1, 0, 3, 11, 12, 13], that means that the length of the room ids array is 0. That makes the vacuum to make a full cleaning instead of cleaning a room.

@alexpinin alexpinin changed the title Fix the logic of staring cleaning a room Fix the logic of staring cleaning a room for Viomi Feb 12, 2021
@rytilahti
Copy link
Owner

@titilambert this one's for you :-)

@rytilahti rytilahti added the bug label Feb 24, 2021
@rytilahti
Copy link
Owner

Considering there has been no response from @titilambert so far and I'd like to cut a release soonish, @AlexAlexPin could you confirm that you have tested this PR with a real device and this is okay to merge now?

@alexpinin
Copy link
Contributor Author

Considering there has been no response from @titilambert so far and I'd like to cut a release soonish, @AlexAlexPin could you confirm that you have tested this PR with a real device and this is okay to merge now?

Yes, I tested it with viomi.vacuum.v8

@rytilahti
Copy link
Owner

Okay, thanks for the PR! Let's merge this now and in case it breaks something, it can be fixed later on.

@rytilahti rytilahti merged commit 70cd5ca into rytilahti:master Mar 9, 2021
@rytilahti rytilahti mentioned this pull request Mar 13, 2021
xvlady pushed a commit to xvlady/python-miio that referenced this pull request May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants