Skip to content

Commit f9e6c54

Browse files
authored
fix: get home_data_v3 working (#371)
1 parent 5fe20ba commit f9e6c54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roborock/web_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,10 @@ async def get_home_data_v3(self, user_data: UserData) -> HomeData:
387387
home_request = PreparedRequest(
388388
rriot.r.a,
389389
{
390-
"Authorization": self._get_hawk_authentication(rriot, "/v3/user/homes/" + home_id),
390+
"Authorization": self._get_hawk_authentication(rriot, "/v3/user/homes/" + str(home_id)),
391391
},
392392
)
393-
home_response = await home_request.request("get", "/v3/user/homes/" + home_id)
393+
home_response = await home_request.request("get", "/v3/user/homes/" + str(home_id))
394394
if not home_response.get("success"):
395395
raise RoborockException(home_response)
396396
home_data = home_response.get("result")

0 commit comments

Comments
 (0)