Hi has anyone lost their Netatmo weather after upgrading to 92.0?
2019-04-25 09:32:51 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform netatmo
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/netatmo/sensor.py", line 72, in setup_platform manual_config(config, dev)
File "/usr/src/app/homeassistant/components/netatmo/sensor.py", line 94, in manual_config if module_name not in data.get_module_names():
File "/usr/src/app/homeassistant/components/netatmo/sensor.py", line 377, in get_module_names self.update()
File "/usr/src/app/homeassistant/components/netatmo/sensor.py", line 406, in update self.station_data = self._detect_platform_type()
File "/usr/src/app/homeassistant/components/netatmo/sensor.py", line 388, in _detect_platform_type station_data = self.data_class(self.auth)
File "/usr/local/lib/python3.7/site-packages/smart_home/WeatherStation.py", line 21, in __init__ self.getAuthToken = authData.accessToken
AttributeError: 'NoneType' object has no attribute 'accessToken'
Yup, getting the same issue: AttributeError: ‘NoneType’ object has no attribute ‘accessToken’
Has something changed in the configuration of this component?
No default_home in HomeData.
7:07 PM components/netatmo/climate.py (ERROR)
Error while setting up platform netatmo
7:07 PM components/netatmo/climate.py (ERROR)
I had this working perfectly in my docker and now I am frustrated
I’ve got an error about an access token with my Netatmo weather station after upgrading
2019-04-25 17:07:29 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform netatmo
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 416, in wait_for
return fut.result()
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py”, line 72, in setup_platform
manual_config(config, dev)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py”, line 94, in manual_config
if module_name not in data.get_module_names():
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py”, line 377, in get_module_names
self.update()
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py”, line 406, in update
self.station_data = self._detect_platform_type()
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py”, line 388, in _detect_platform_type
station_data = self.data_class(self.auth)
File “/usr/local/lib/python3.7/site-packages/smart_home/WeatherStation.py”, line 21, in init
self.getAuthToken = authData.accessToken
AttributeError: ‘NoneType’ object has no attribute ‘accessToken’
To confirm, values in netatmo app and home assistant are different. Also, when I push a reading from the device it comes through which one would argues means that device connectivity is not the issue.
ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.netatmo_inside_temperature fails
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 220, in async_update_ha_state
await self.async_device_update()
File "/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)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py", line 216, in update
self.netatmo_data.update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py", line 544, in update
self.station_data = self._detect_platform_type()
File "/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)
File "/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