watchforstock / evohome-client

Python client to access the Evohome web service
Apache License 2.0
88 stars 52 forks source link

evohomeclient2 fails to use user credentials after refresh_token fails #97

Closed zxdavb closed 5 years ago

zxdavb commented 5 years ago

I am consistently seeing an evohomeclient2.AuthenticationError being thrown when the refresh_token has expired (i.e. I am using one that is a few days old).

This is despite the fix in #94.

The expected behaviour would be to silently fall back to using the user credentials.

I will have a look at this, and submit a PR if required.

zxdavb commented 5 years ago

Can anyone remember how long until a refresh_token expires?

zxdavb commented 5 years ago

Stupid regression on my side - closed.