I don’t believe this to be a Home Assistant issue, but wanted to hear if others experience the same.
I had Netatmo Weatherstation integrated through HA integrations, but about one week ago its values were unknown on my dashboard. This happened before and removing and reintegrating used to fix this. Unfortunately not anymore. The process is getting stuck at the account linking part @ https://account-link.nabucasa.com/authorize_callback?state=… with message “Please wait, we are linking your account…”. It never succeeds or times out, just stuck there.
Having the same (or close enough) issue. My account linking succeeds though.
The integration broke on update to 0.109.1, perhaps coincidentally.
In terms of the logs:
2020-05-03 10:36:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform netatmo is taking over 10 seconds.
2020-05-03 10:36:24 WARNING (MainThread) [homeassistant.components.climate] Setup of climate platform netatmo is taking over 10 seconds.
2020-05-03 10:36:32 ERROR (SyncWorker_16) [pyatmo.auth] Too many retries
2020-05-03 10:36:32 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up netatmo platform for sensor
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py", line 146, in async_setup_entry
async_add_entities(await hass.async_add_executor_job(get_entities), True)
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/netatmo/sensor.py", line 133, in get_entities
dc_data = data_class(auth)
File "/srv/homeassistant/lib/python3.7/site-packages/pyatmo/weather_station.py", line 24, in __init__
resp = self.authData.post_request(url=self.urlReq)
File "/srv/homeassistant/lib/python3.7/site-packages/pyatmo/auth.py", line 168, in post_request
if "application/json" in resp.headers.get("content-type")
AttributeError: 'NoneType' object has no attribute 'headers'
2020-05-03 10:36:37 ERROR (MainThread) [homeassistant.components.netatmo] Error during webhook registration - 400 - Bad request - Allowed ports for webhooks are 443 and 80. (21) when accessing 'https://api.netatmo.com/api/addwebhook'
I thought the configuration.yaml method is deprecated? I have troubles too . It works for some time but then stops. Only thing I could get it to work again is to delete the integration and re configure it…
I haven’t heard about any (Netatmo) configuration.yaml deprecation. It’s even still the suggested way of doing it in the HA docs (https://www.home-assistant.io/integrations/netatmo/). In any case its working fine