-
Notifications
You must be signed in to change notification settings - Fork 77
Add Q7 map_content support and room segment cleaning helper #774
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
Changes from 1 commit
ac0c93b
0eb5720
acca342
b4fb0d4
aea98ed
3a0b944
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -87,6 +87,17 @@ async def start_clean(self) -> None: | |
| }, | ||
| ) | ||
|
|
||
| async def clean_segments(self, room_ids: list[int]) -> None: | ||
| """Start segment/room cleaning for the given room ids.""" | ||
| await self.send( | ||
| command=RoborockB01Q7Methods.SET_ROOM_CLEAN, | ||
| params={ | ||
| "clean_type": CleanTaskTypeMapping.ROOM.code, | ||
| "ctrl_value": SCDeviceCleanParam.START.code, | ||
| "room_ids": room_ids, | ||
| }, | ||
| ) | ||
|
||
|
|
||
| async def pause_clean(self) -> None: | ||
| """Pause cleaning.""" | ||
| await self.send( | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.