Thank you very much for answering, now I have deleted the folder netatmo of custom_components but I still get error, this is what I get
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/binary_sensor.py”, line 67, in setup_platform
if not data.get_camera_names():
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/init.py”, line 204, in get_camera_names
self.update()
File “/usr/local/lib/python3.7/site-packages/homeassistant/util/init.py”, line 224, in wrapper
result = method(*args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/netatmo/init.py”, line 241, in update
self.camera_data = pyatmo.CameraData(self.auth, size=100)
File “/usr/local/lib/python3.7/site-packages/smart_home/Camera.py”, line 49, in init
nameHome = self.rawData[“homes”][i][“name”]
KeyError: ‘name’
Also this is my configuration in the file configuration.yaml in case it had changed:
camera:
platform: netatmo
binary_sensor:
- platform: huesensor
- platform: netatmo
cameras:- Camera
presence_sensors: - Outdoor motion
- Outdoor human
- Outdoor animal
- Outdoor vehicle
- Camera
netatmo:
api_key: *****
secret_key: *****
username: ******
password: *****
discovery: no
I do not know what the problem will be but in fact both the thermostat and the camera of the netatmo platform have disappeared