Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Electrolux unstable API - possibility of retries and backoffs? #19

Open
LordMike opened this issue Dec 19, 2023 · 0 comments
Open

Electrolux unstable API - possibility of retries and backoffs? #19

LordMike opened this issue Dec 19, 2023 · 0 comments

Comments

@LordMike
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant