Skip to content

Commit 83aff11

Browse files
committed
chore: exception
1 parent ff630e3 commit 83aff11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roborock/web_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ async def get_schedules(self, user_data: UserData, device_id: str) -> list[HomeD
628628
if isinstance(schedules, list):
629629
return [HomeDataSchedule.from_dict(schedule) for schedule in schedules]
630630
else:
631-
raise RoborockException(f"scene_response result was an unexpected type: {result}")
631+
raise RoborockException(f"schedule_response result was an unexpected type: {schedules}")
632632

633633
async def get_products(self, user_data: UserData) -> ProductResponse:
634634
"""Gets all products and their schemas, good for determining status codes and model numbers."""

0 commit comments

Comments
 (0)