-
Notifications
You must be signed in to change notification settings - Fork 35
Description
I have a Smarther thermostat (Smarther2 in Italy).
the following code works properly
homeData = pyatmo.HomeData(authorization)
homeData.update()
print(homeData.raw_data)
only differently from the website doesn't show all the info about the house but it stop at rooms details.
when i run the following code, with home_id set accordingly to previous response
homeStatus = pyatmo.HomeStatus(authorization, home_id="xxxxxxxxxxx")
homeStatus.update()
print(homeStatus.raw_data)
I get :
Traceback (most recent call last):
File "C:\Users\Francesco\Desktop\Temp\test.py", line 21, in
homeStatus.update()
File "C:\Users\Francesco\anaconda3\lib\site-packages\pyatmo\thermostat.py", line 264, in update
self.raw_data = extract_raw_data(resp.json(), "home")
File "C:\Users\Francesco\anaconda3\lib\site-packages\pyatmo\helpers.py", line 57, in extract_raw_data
raise NoDevice("No device found, errors in response")
pyatmo.exceptions.NoDevice: No device found, errors in response
while on netatmo API tryout all the information including the thermostat are properly shown.
Any hint ?