We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5a37e3 commit 84c95e3Copy full SHA for 84c95e3
roborock/api.py
@@ -280,7 +280,7 @@ async def get_prop(self, device_id: str) -> RoborockDeviceProp | None:
280
if clean_summary and clean_summary.records and len(clean_summary.records) > 0:
281
last_clean_record = await self.get_clean_record(device_id, clean_summary.records[0])
282
dock_summary = None
283
- if status and status.dock_type != RoborockDockTypeCode["0"]:
+ if status and status.dock_type is not None and status.dock_type != RoborockDockTypeCode["0"]:
284
dock_summary = await self.get_dock_summary(device_id, status.dock_type)
285
if any([status, dnd_timer, clean_summary, consumable]):
286
return RoborockDeviceProp(
0 commit comments