I’m having problems where hass.io randomly drops netatmo weather station entities which then breaks any automation which uses the netatmo entities from working.
Here is a sample from my home assistant log, maybe there’s something in here that is simple to fix but I haven’t figured out yet.
Thanks in advance for your help.
2019-05-29 19:09:05 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.netatmo_outside_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