-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Labels
Description
Hello,
for a few days I can no longer connect to the API. Anything to change? I am using a version of the lnetatmo API that is not up to date, is that why?
Thanks
code=400, reason=, body=b'{"error":"invalid_grant"}' Traceback (most recent call last): File "/home/domoticz/myscript/netatmo.py", line 69, in <module> thermostat = lnetatmo.ThermostatData(authorization) File "/myscript/lnetatmo.py", line 357, in __init__ self.getAuthToken = authData.accessToken File "/myscript/lnetatmo.py", line 241, in accessToken if self.expiration < time.time() : self.renew_token() File "/myscript/lnetatmo.py", line 252, in renew_token if self.refreshToken != resp['refresh_token']: TypeError: 'NoneType' object is not subscriptable