Hi,
In case that i’m using home assistant in docker where i can find this file to update?
because just making these changes:
i have these errors in log:
2018-12-23 17:06:57 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 324, 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 "/config/deps/lib/python3.6/site-packages/smart_home/Camera.py", line 81, in __init__
self.default_camera = list(self.cameras[self.default_home].values())[0]
AttributeError: 'CameraData' object has no attribute 'default_home'
2018-12-23 17:06:58 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 324, 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 "/config/deps/lib/python3.6/site-packages/smart_home/Camera.py", line 81, in __init__
self.default_camera = list(self.cameras[self.default_home].values())[0]
AttributeError: 'CameraData' object has no attribute 'default_home'
thanks