Netatmo weather station problem with setup

So i just got my hands on a Netatmo weather station, set it up with one indoor and one outdoor sensor, and it all works like a charm in the netatmo app, and the weather netatmo map. I try to intergrate it into my hassio, but I keep hitting a dead end no matter what I try.
Here is what i have done.
I registered to get the Netatmo API and Secret, activated the “app” on the netatmo webpage.
Then i set up the following in my configuration.yaml.

  api_key: yeppithsthere
  secret_key: yeppithsthere
  username: yeppithsthere
  password: yeppithsthere

then I listed the following under my sensors:

  - platform: netatmo
    station: Hytta
        - temperature
        - co2
        - humidity
        - health_idx
        - min_temp
        - max_temp
        - temperature
        - battery_vp
        - battery_percent
        - humidity
        - health_idx
        - min_temp
        - max_temp
        - wifi_status

When looking at the logs after reboot this is what i get:

Error during setup of component netatmo
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/", line 154, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/local/lib/python3.7/concurrent/futures/", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/", line 95, in setup
    'read_station read_camera access_camera '
  File "/usr/local/lib/python3.7/site-packages/", line 85, in __init__
    self._accessToken = resp["access_token"]
TypeError: 'NoneType' object is not subscriptable

and :

Tue Mar 19 2019 18:21:46 GMT+0100 (sentraleuropeisk normaltid)
Unable to set up dependencies of netatmo.sensor. Setup failed for dependencies: netatmo
Tue Mar 19 2019 18:21:46 GMT+0100 (sentraleuropeisk normaltid)
Unable to prepare setup for platform netatmo.sensor: Could not set up all dependencies.

I have the same issue. Have you found a resolution?

Same problem here. Any solution?

I have been using this component for a couple of years - I do get the same errors in my log, however, Netatmo loads fine.

The only difference from you I have is in my sensors, I remember I had an issue until I removed


Give that a go and see if it works.



EDIT: My errors are the same as your first log, not errors with sensor dependancies

1 Like