Skip to content

Commit a55ed9e

Browse files
committed
fix: the map id
1 parent 3589ff5 commit a55ed9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roborock/containers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def get_mop_mode_code(self, mop_mode: str) -> int:
432432
def current_map(self) -> int | None:
433433
"""Returns the current map ID if the map is present."""
434434
if self.map_status is not None:
435-
return (self.map_status - 3) // 4
435+
return self.map_status >> 2
436436
return None
437437

438438

0 commit comments

Comments
 (0)