Error while setting up platform netatmo

Hi everyone,

Getting this error a lot. I only have a Netatmo Presence (camera) and Netatmo Healthy Home Coach (Air quality monitor). They both work, except for the fact that I cannot use the floodlight on the Presence camera. However my config keeps giving me errors setting up a climate component. Do I need to exclude this somehow?

I tried setting discovery: false on the Netatmo component, and manually adding what I have, but I haven’t had any luck getting that working. Without discovery, I cannot get anything to show.

Thu Mar 21 2019 22:42:55 GMT+0100 (Central European Standard Time)
Error while setting up platform netatmo
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 128, 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/climate.py", line 87, in setup_platform
    homes = home_data.get_home_names()
  File "/usr/src/app/homeassistant/components/netatmo/climate.py", line 301, in get_home_names
    self.setup()
  File "/usr/src/app/homeassistant/components/netatmo/climate.py", line 315, in setup
    self.home_id = self.homedata.gethomeId(self.home)
  File "/usr/local/lib/python3.7/site-packages/smart_home/Thermostat.py", line 84, in gethomeId
    home = self.default_home
AttributeError: 'HomeData' object has no attribute 'default_home'

Same issue here:

2019-04-15 21:59:18 ERROR (MainThread) [homeassistant.components.climate] 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/climate.py", line 96, in setup_platform
    for room_id in room_data.get_room_ids():
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/climate.py", line 344, in get_room_ids
    if not self.setup():
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/climate.py", line 355, in setup
    self.homestatus = pyatmo.HomeStatus(self.auth, home=self.home)
  File "/usr/local/lib/python3.7/site-packages/smart_home/Thermostat.py", line 130, in __init__
    raise NoDevice("No device found, errors in response")
smart_home.NoDevice: No device found, errors in response

I have the netatmo Thermostat, the Welcome camera and the Weather Station. All works fine in previous versions (0.89), but now the thermostat don’t show up and report this error :confused:

I try with the discovery: false and the climate: platform: netatmo but still reports the same error.

Same here. Netatmo Thermostat isn’t loading with version 0.92.0.

No default_home in HomeData

I don’t have a Netatmo thermostat, but I have their weather station. I’m also seeing the component fail to load on .92

Oddly my Netatmo weather station is working but not my Netatmo Thermostat

Same error here. Could anyone be so kind to direct us towards “HomeData” - anyone? I just love meaningless error messages - I actually collects bad error messages. Microsoft SQL Server has been one of the worst I have experienced but MS has improved a lot there lately.

I think we have to wait for 0.92.1. https://github.com/home-assistant/home-assistant/releases/tag/0.92.1

Fixed in version 0.92.1! :grinning: :+1:t3:

Hi, I have the same problem with a 0.92.1 and 0.92.2 versions, I have a Netatmo Weather and Netatmo Camera but not a Netatmo Termostat. Are you change something in a configuration.yaml?

No, nothing. Seems to be fixed in version 0.92.1. Still with version 0.92.2 no problems. Perhaps you could disconnect and reconnect the Netatmo devices from your power outlets.

I have restarted the Netatmo devices and my HA and the problem persists.

Hi, same proble here with 0.92.2 in docker

2019-05-06 09:36:52 ERROR (MainThread) [homeassistant.components.climate] 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/climate.py”, line 97, in setup_platform
for room_id in room_data.get_room_ids():
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/climate.py”, line 345, in get_room_ids
if not self.setup():
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/climate.py”, line 356, in setup
self.homestatus = pyatmo.HomeStatus(self.auth, home=self.home)
File “/usr/local/lib/python3.7/site-packages/smart_home/Thermostat.py”, line 130, in init
raise NoDevice(“No device found, errors in response”)
smart_home.NoDevice: No device found, errors in response

I move my hassio setup from a pi to a nuc. Problem still exists (hassio last versión):

Thu May 16 2019 00:41:31 GMT+0200 (hora de verano de Europa central)
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/climate.py”, line 97, in setup_platform
for room_id in room_data.get_room_ids():
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/climate.py”, line 345, in get_room_ids
if not self.setup():
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/climate.py”, line 356, in setup
self.homestatus = pyatmo.HomeStatus(self.auth, home=self.home)
File “/usr/local/lib/python3.7/site-packages/smart_home/Thermostat.py”, line 130, in init
raise NoDevice(“No device found, errors in response”)
smart_home.NoDevice: No device found, errors in response