We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df84567 commit ac0c93bCopy full SHA for ac0c93b
roborock/devices/traits/b01/q7/__init__.py
@@ -87,6 +87,17 @@ async def start_clean(self) -> None:
87
},
88
)
89
90
+ async def clean_segments(self, room_ids: list[int]) -> None:
91
+ """Start segment/room cleaning for the given room ids."""
92
+ await self.send(
93
+ command=RoborockB01Q7Methods.SET_ROOM_CLEAN,
94
+ params={
95
+ "clean_type": CleanTaskTypeMapping.ROOM.code,
96
+ "ctrl_value": SCDeviceCleanParam.START.code,
97
+ "room_ids": room_ids,
98
+ },
99
+ )
100
+
101
async def pause_clean(self) -> None:
102
"""Pause cleaning."""
103
await self.send(
0 commit comments