@@ -274,13 +274,12 @@ async def get_dock_summary(self, device_id: str, dock_type: RoborockEnum) -> Doc
274274 return None
275275
276276 async def get_prop (self , device_id : str ) -> DeviceProp | None :
277- [status , dnd_timer , clean_summary , consumable , multi_maps_list ] = await asyncio .gather (
277+ [status , dnd_timer , clean_summary , consumable ] = await asyncio .gather (
278278 * [
279279 self .get_status (device_id ),
280280 self .get_dnd_timer (device_id ),
281281 self .get_clean_summary (device_id ),
282- self .get_consumable (device_id ),
283- self .get_multi_maps_list (device_id )
282+ self .get_consumable (device_id )
284283 ]
285284 )
286285 last_clean_record = None
@@ -297,7 +296,6 @@ async def get_prop(self, device_id: str) -> DeviceProp | None:
297296 consumable ,
298297 last_clean_record ,
299298 dock_summary ,
300- multi_maps_list
301299 )
302300 return None
303301
@@ -324,7 +322,7 @@ async def get_room_mapping(self, device_id: str) -> list[RoomMapping]:
324322 mapping = await self .send_command (device_id , RoborockCommand .GET_ROOM_MAPPING )
325323 if isinstance (mapping , list ):
326324 return [
327- RoomMapping (segment_id , iot_id )
325+ RoomMapping (segment_id = segment_id , iot_id = segment_id ) # type: ignore
328326 for segment_id , iot_id in [unpack_list (room , 2 ) for room in mapping ]
329327 ]
330328 return []
@@ -463,8 +461,7 @@ async def get_home_data(self, user_data: UserData) -> HomeData:
463461 home_request = PreparedRequest (
464462 rriot .r .a ,
465463 {
466- "Authorization" : f'Hawk id="{ rriot .u } ", s="{ rriot .s } ", ts="{ timestamp } ", nonce="{ nonce } ", '
467- f'mac="{ mac } "' ,
464+ "Authorization" : f'Hawk id="{ rriot .u } ", s="{ rriot .s } ", ts="{ timestamp } ", nonce="{ nonce } ", mac="{ mac } "' ,
468465 },
469466 )
470467 home_response = await home_request .request ("get" , "/user/homes/" + str (home_id ))
0 commit comments