Skip to content

Commit 23bae12

Browse files
authored
feat: add load_multi_map function (#349)
1 parent 557497a commit 23bae12

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

roborock/version_1_apis/roborock_client_v1.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,10 @@ async def get_server_timer(self) -> list[ServerTimer]:
336336
return [ServerTimer(*server_timers)]
337337
return []
338338

339+
async def load_multi_map(self, map_flag: int) -> None:
340+
"""Load the map into the vacuum's memory."""
341+
await self.send_command(RoborockCommand.LOAD_MULTI_MAP, [map_flag])
342+
339343
def _get_payload(
340344
self,
341345
method: RoborockCommand | str,

0 commit comments

Comments
 (0)