You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
I'm using this library through an integration in Home Assistant - and we're seeing a lot of "dropouts" where the status of entities will disappear only to reappear a few minutes later. This happens regularly throughout the day.
My theory is that there are no retries anywhere in either that plugin, or this library. So any failed request will lead to this behaviour.
Having little to no python experience - would it be possible to add retries to this library in the HTTP request method, such that it will retry N times (f.ex. 2), with some backoff time (f.ex. 10 seconds and 60 seconds) ?
Thanks in advance.
Mike.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi
I'm using this library through an integration in Home Assistant - and we're seeing a lot of "dropouts" where the status of entities will disappear only to reappear a few minutes later. This happens regularly throughout the day.
My theory is that there are no retries anywhere in either that plugin, or this library. So any failed request will lead to this behaviour.
Having little to no python experience - would it be possible to add retries to this library in the HTTP request method, such that it will retry N times (f.ex. 2), with some backoff time (f.ex. 10 seconds and 60 seconds) ?
Thanks in advance.
Mike.
The text was updated successfully, but these errors were encountered: