The binary_sensors for the netatmo camera do not work anymore after upgrading to 0.97.2
logfile shows:
Error while setting up platform netatmo
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 149, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, 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/homeassistant/homeassistant/components/netatmo/binary_sensor.py", line 67, in setup_platform
if not data.get_camera_names():
File "/usr/src/homeassistant/homeassistant/components/netatmo/__init__.py", line 228, in get_camera_names
for camera in self.camera_data.cameras[self.home].values():
KeyError: 'Home-Cam'
Has anybody a similar experience? Any hint is welcome - thanks!
Im running Home Assistant 0.97.2 on platform HassOS 2.12.
I had the netatmo binary_sensors working for month now, just after the update to 0.97.2, they disappeard.
Before the error message in my first post, the system log shows following line:
The Netatmo API returned 400
Error while setting up platform netatmo
19. August 2019, 19:13 components/netatmo/__init__.py (ERROR)
The Netatmo API returned 400
19. August 2019, 19:13 components/netatmo/__init__.py (ERROR)
I’m also running HassOS 2.12 with supervisor 181 but I’ve been getting other odd issues such as errors connection to the Honeywell API, so I wouldn’t say I’m having no issues.
However the netatmo camera and binary_sensors are working fine, I’m even getting notifications when they change.
It has been 3 days since it booted up however, next time I need to reboot I’ll see if I’m getting the same error 400.