Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions roborock/web_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,10 @@ async def code_login_v4(
raise RoborockInvalidUserAgreement(
"User agreement must be accepted again - or you are attempting to use the Mi Home app account."
)
if response_code == 3039:
raise RoborockAccountDoesNotExist(
"This code does not exists - please ensure that you selected the right region and email."
Comment thread
Lash-L marked this conversation as resolved.
Outdated
)
raise RoborockException(f"{login_response.get('msg')} - response code: {response_code}")
user_data = login_response.get("data")
if not isinstance(user_data, dict):
Expand Down
Loading