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

Add token refresh retry scheduling #28

Merged
merged 2 commits into from
Sep 1, 2024
Merged

Conversation

lawtancool
Copy link
Owner

@lawtancool lawtancool commented Sep 1, 2024

Should resolve #14 by using HA's event system to schedule token refresh retry attempts if the initially scheduled attempt fails. Uses exponential backoff with jitter from mellis@905b9aa

HA event system: https://developers.home-assistant.io/docs/integration_listen_events/

@lawtancool lawtancool merged commit 9539dfc into master Sep 1, 2024
@lawtancool lawtancool deleted the schedule_token_refresh branch September 3, 2024 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integration token expires without renewing
1 participant