Hello,
I have a netatmo thermostat and this is my config in HA in climate.yaml:
- platform: netatmo
relay: relay_T
thermostat:
- Termostato
Also in configuration.yaml i have this:
netatmo:
api_key: !secret netatmo_api_key
secret_key: !secret netatmo_secret_key
username: !secret netatmo_username
password: !secret netatmo_password
And all works fine…
The problem is that when i see logs i can see few errors:
2018-09-06 22:58:31 ERROR (MainThread) [homeassistant.components.binary_sensor] 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.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/binary_sensor/netatmo.py”, line 73, in setup_platform
if not data.get_camera_names():
File “/usr/src/app/homeassistant/components/netatmo.py”, line 82, in get_camera_names
self.update()
File “/usr/src/app/homeassistant/util/init.py”, line 325, in wrapper
result = method(*args, **kwargs)
File “/usr/src/app/homeassistant/components/netatmo.py”, line 113, in update
self.camera_data = pyatmo.CameraData(self.auth, size=100)
File “/usr/local/lib/python3.6/site-packages/smart_home/Camera.py”, line 79, in init
self.default_camera = list(self.cameras[self.default_home].values())[0]
AttributeError: ‘CameraData’ object has no attribute ‘default_home’
2018-09-06 22:58:31 ERROR (MainThread) [homeassistant.components.climate] 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.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/climate/netatmo.py”, line 50, in setup_platform
for module_name in data.get_module_names():
File “/usr/src/app/homeassistant/components/climate/netatmo.py”, line 164, in get_module_names
for module in self.thermostatdata.modules[self.device].values():
KeyError: ‘relay_T’
2018-09-06 22:58:38 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-09-06 22:58:43 ERROR (SyncWorker_14) [homeassistant.components.sensor.nut] NUT Sensor has no data, unable to set up
2018-09-06 22:58:43 WARNING (MainThread) [homeassistant.components.sensor] Platform nut not ready yet. Retrying in 30 seconds.
2018-09-06 22:58:48 ERROR (MainThread) [homeassistant.components.camera] 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.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/camera/netatmo.py”, line 40, in setup_platform
for camera_name in data.get_camera_names():
File “/usr/src/app/homeassistant/components/netatmo.py”, line 82, in get_camera_names
self.update()
File “/usr/src/app/homeassistant/util/init.py”, line 325, in wrapper
result = method(*args, **kwargs)
File “/usr/src/app/homeassistant/components/netatmo.py”, line 113, in update
In binary_sesnor i don’t have any configuration about netatmo, just i have to see battery about my xioami sensors.
What can i do to take out this error logs?
thanks