Fix login by updating pysmarthashtag to 0.9.1#431
Merged
Conversation
Closed
The login errors "Could not get login token from login page" and "Could not get location from auth page" are caused by Smart's auth endpoint changing its response format. pysmarthashtag 0.9.1 includes: - Rewritten OIDC + Gigya login flow handling the new redirect chain - Adaptive rate-limit backoff to prevent WAF lockout during retries - Better error diagnostics with HTTP status and body excerpts Bumps integration version to 0.8.4.
Copilot
AI
changed the title
[WIP] Fix login issue and refresh token retrieval
Fix login by updating pysmarthashtag to 0.9.1
Jun 4, 2026
DasBasti
approved these changes
Jun 4, 2026
Contributor
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Home Assistant SmartHashtag integration metadata to consume the fixed upstream login flow by bumping the pysmarthashtag dependency and aligning the integration’s own version accordingly.
Changes:
- Bump dependency
pysmarthashtagfrom0.8.1to0.9.1(login flow fix via upstream library). - Bump integration version from
0.8.3to0.8.4.
Owner
|
@copilot the integration version will be bumped by the release. do not manually edit it in this PR |
Contributor
Author
Addressed in commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Login fails with "Could not get login token from login page" / "Could not get location from auth page" because Smart moved the
contextparameter to a different redirect hop in their OIDC chain, breaking the parsing in pysmarthashtag 0.8.1.pysmarthashtag0.8.1 → 0.9.1, which includes a rewritten login flow that walks the full redirect chain and adaptive AIMD backoff to prevent WAF lockout during HA's retry loop (~80s interval)