Skip to content
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

fix: fix multi ha instance login #560

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

topsworld
Copy link
Contributor

@topsworld topsworld commented Jan 3, 2025

Why?

Multiple regional logins of the same account on Xiaomi, or multiple HA device logins, will lead to abnormal token refresh and require re-authentication to solve.

Fixed

  • The get token interface adds the "device_id" field to support multi-ha instance logins.

Test

  • Self-test passed, it is necessary to test in the pre-release version for another week, and then release it if there is no problem.

Wait for the Xiaomi cloud service function to go online and then merge this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants