apetrycki / daikinskyport

API for accessing a DaikinOne+ Thermostat
59 stars 26 forks source link

add retries when queries are rejected for being too quick #76

Closed joejulian closed 9 months ago

joejulian commented 9 months ago

The api server was rejecting requests that came in too quickly. This adds a retry with backoff to allow the queries to be successful.

Fixes #75

apetrycki commented 9 months ago

I had to remove the max_backoff. It complained Retry didn't like it.