we just need to rename the netatmo directory to (for example) netatmoOLD, correct?
Sorry but after another restart and probably a refresh on my side, it was clear it’s not working anymore…
you have to post your whole yaml, I’m guessing you are looping when you shouldn’t be. Did you try the template I provided with nothing else?
Finally I continue using custom component with 0.90 and it works as expected.
I found the issue. I had my commented out code from before directly under yours, so it somehow took the # from there.
Removing my old code fixed it. Thanks @petro
Hmm might this new climate component have something to do with the error I am getting?
I don’t have any thermostats or anything from Netatmo, but it tries to use the climate component and fails any way it seems.
how can I delete climate.netatmo double entities? they are not present in core.entity_registry. where do they sell stored?
Maybe in the device_registry
Hi, I have the camera netatmo and it has stopped working in version 0.91, it is not clear to me what files I have to enter in custom_components. Can someone explain to me how to configure it now?
This component is now a full part of HA so you shouldn’t need any custom component setup.
Do your logs give any error related to the camera?
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
Don’t have the camera myself so not 100% sure, but looking at the HA Docs you may need to change your configuration a little to accommodate the idea of “Homes” in the Netatmo setup
I’m getting the same error. I havent been able to get this to work since it was integrated to HA.
there isn’t…
Ok, I looked in my core files and your right.
Ok than I would guess you have a manuel config and autodiscovery activated. This would cause double entities.
Yes I have auto discovery and manual configure. Could I exclude netatmo from auto discover?
Try it by commenting it out
i ve just updated to the last HA version and i got this error:
my mistake. my relay wasnt work.
Hi very long topic this one.
I want explain my situation in case someone helps.
2 Netatmo thermostats and 1 Netatmo weather station, discovery: true
The 2 thermostats, whatever I done or do, shows like setpoint temperature mixed by one or the other thermostat . I setted state almost 1000 times but it turns as he likes.
The other factor is that if I don’t set discovery true the Netatmo indoor weather station module does not receive data, for humidity, noise, and co2.
I tried the solution in first post but I never been able to have to works the settings.
Can someone address me to the right way?