apetrycki / daikinskyport

API for accessing a DaikinOne+ Thermostat
63 stars 27 forks source link

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

Closed joejulian closed 1 year ago

joejulian commented 1 year 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 1 year ago

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