Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 220, in async_update_ha_state

await self.async_device_update()


 "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 377, in async_device_update

await self.hass.async_add_executor_job(self.update)


 "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py", line 216, in update

self.netatmo_data.update()


 "/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py", line 544, in update

self.station_data = self._detect_platform_type()


 "/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py", line 522, in _detect_platform_type

station_data = self.data_class(self.auth)


 "/usr/local/lib/python3.7/site-packages/smart_home/WeatherStation.py", line 24, in __init__

self.rawData = resp["body"]["devices"]
TypeError: 'NoneType' object is not subscriptable


Traceback (most recent call last):

 "issue.py", line 10, in <module>
issue_thrift.WalkingDistanceParam(from_param, to_param, 'orderId', 1)
TypeError: object() takes no parameters