We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8437fcb commit 459119bCopy full SHA for 459119b
roborock/api.py
@@ -322,7 +322,7 @@ async def get_room_mapping(self, device_id: str) -> list[RoomMapping]:
322
mapping = await self.send_command(device_id, RoborockCommand.GET_ROOM_MAPPING)
323
if isinstance(mapping, list):
324
return [
325
- RoomMapping(segment_id=segment_id, iot_id=segment_id) # type: ignore
+ RoomMapping(segment_id=segment_id, iot_id=iot_id) # type: ignore
326
for segment_id, iot_id in [unpack_list(room, 2) for room in mapping]
327
]
328
return []
0 commit comments