I Recently bought a netatmo during lowes’ last big sale and have not been able to get it connected with Home Assistant
Here is the error from the log:
2017-09-16 00:42:36 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform netatmo
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result
raise self._exception
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/sensor/netatmo.py", line 87, in setup_platform
for module_name in data.get_module_names():
File "/usr/src/app/homeassistant/components/sensor/netatmo.py", line 302, in get_module_names
self.update()
File "/usr/src/app/homeassistant/util/__init__.py", line 306, in wrapper
result = method(*args, **kwargs)
File "/usr/src/app/homeassistant/components/sensor/netatmo.py", line 315, in update
self.data = self.station_data.lastData(exclude=3600)
File "/usr/local/lib/python3.6/site-packages/smart_home/WeatherStation.py", line 111, in lastData
lastD[module['module_name']] = ds.copy()
KeyError: 'module_name'
I followed the Docs and got the API and Secret keys from the Netatmo dev website, the app is activated.