Unexpected error fetching ezviz data: 'NoneType' object has no attribute 'get'

I receive this error from ezviz integration. The issue is that I do not see the camera image on IOS Home Assistant app.

Logger: homeassistant.components.ezviz.coordinator
Source: components/ezviz/coordinator.py:27
Integration: Ezviz (documentation, issues)
First occurred: 10:51:43 (1 occurrences)
Last logged: 10:51:43

Unexpected error fetching ezviz data: ‘NoneType’ object has no attribute ‘get’
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/update_coordinator.py”, line 187, in _async_refresh
self.data = await self._async_update_data()
File “/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/ezviz/coordinator.py”, line 35, in _async_update_data
return await self.hass.async_add_executor_job(self._update_data)
File “/usr/local/lib/python3.8/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/ezviz/coordinator.py”, line 27, in _update_data
cameras = self.ezviz_client.load_cameras()
File “/srv/homeassistant/lib/python3.8/site-packages/pyezviz/client.py”, line 345, in load_cameras
devices = self._get_all_device_infos()
File “/srv/homeassistant/lib/python3.8/site-packages/pyezviz/client.py”, line 402, in _get_all_device_infos
result[device[“deviceSerial”]][“timePlanInfos”] = devices.get(
AttributeError: ‘NoneType’ object has no attribute ‘get’

1 Like

seemt to be receiving a similar error:

Logger: homeassistant.components.ezviz.coordinator
Source: components/ezviz/coordinator.py:32
Integration: Ezviz (documentation, issues)
First occurred: 11:32:59 (3 occurrences)
Last logged: 11:38:35

Unexpected error fetching ezviz data: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/components/ezviz/coordinator.py", line 38, in _async_update_data
    return await self.hass.async_add_executor_job(self._update_data)
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/ezviz/coordinator.py", line 32, in _update_data
    return self.ezviz_client.load_cameras()
  File "/usr/local/lib/python3.9/site-packages/pyezviz/client.py", line 398, in load_cameras
    devices = self._get_all_device_infos()
  File "/usr/local/lib/python3.9/site-packages/pyezviz/client.py", line 470, in _get_all_device_infos
    result[device["deviceSerial"]]["cloudInfos"] = devices.get(
AttributeError: 'NoneType' object has no attribute 'get'

Camera does turn up in lovelace UI, but remains in state “idle”, so no image/video

I have the EZViz C8C camera (which supports pan/tilt btw, but I don’t see the controls in HA)

thanks in advance,

Do you have some news about this post?