Closed balloob closed 5 years ago
When an error happened, it always assumed it was because of a bad request and started hammering the ecobee API by inifinite retrying.
This PR will only retry if credentials have expired and if we have not retried before.
Relevant API docs: https://www.ecobee.com/home/developer/api/documentation/v1/auth/auth-req-resp.shtml
🚤 so fast !
oh no I messed up some syntax 🙈 PR incoming.
When an error happened, it always assumed it was because of a bad request and started hammering the ecobee API by inifinite retrying.
This PR will only retry if credentials have expired and if we have not retried before.
Relevant API docs: https://www.ecobee.com/home/developer/api/documentation/v1/auth/auth-req-resp.shtml