-
Notifications
You must be signed in to change notification settings - Fork 373
Fix 2FA issue #1600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Fix 2FA issue #1600
Conversation
Thanks! I needs to check this. |
Hello! Thank you for the code modifications. I wanted to ask if I can simply overwrite the original file with your modified |
Yes.After you overwrite the file,you need to restart your homeassistant. |
After I overwrote the file and then restarted HAOS, I was able to log into my account normally. However, after successfully logging in, when I tried to add an entry, I didn't see the gateway under my account. Why is this? Do you know the reason? |
日志记录器: custom_components.xiaomi_gateway3.core.cloud Can't request MIoT API /v2/home/device_list_page |
Hello 👋 I noticed that the hass-xiaomi-miot project has addressed Xiaomi account login issues in their recent PR #2429, specifically through updates to the xiaomi_cloud.py implementation. Would you be open to incorporating similar fixes here? I'd be happy to help draft a PR if this approach aligns with the project's direction.Thanks again! 🙌 |
I found that login_step1 was causing repeated 2FA authentication requests, so I skipped it and modified the way to obtain the serviceToken. For me, it's now possible to log in to the account normally.