philippelt / netatmo-api-python

Netatmo connect API python client (for Netatmo information, see https://dev.netatmo.com)
GNU General Public License v3.0
193 stars 121 forks source link

Auto-test not correctly executing #66

Closed JurgenLB closed 1 year ago

JurgenLB commented 1 year ago

Auto-test is not functioning due to 'class HomesData'

lnetatmo - WARNING: Your current token scope do not allow access to Module None Traceback (most recent call last): File "/Users/jurgenlauwers/lNetatmo.py", line 1184, in <module> homesdata = HomesData(authorization) File "/Users/jurgenlauwers/lNetatmo.py", line 976, in __init__ self.rawData = resp['body']['homes'] TypeError: 'NoneType' object is not subscriptable

if I change homesdata = HomesData(authorization to homesdata = HomesData(authorization, homeid) and provide the correct homeid then the auto-test is correctly executed

JurgenLB commented 1 year ago

resolved #69