I’ve some news, if the error is in the line 49 (loginSession) the issue could be the option “Access Configuration” in the ezviz account.
You can try to disable it on the ezviz website under “System Management > Access Configuraiton > Disable”
After this change my log change in:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 179, 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/ezviz/camera.py", line 50, in setup_platform
cameras = ezviz_client.load_cameras()
File "/usr/local/lib/python3.7/site-packages/pyezviz/client.py", line 197, in load_cameras
cameras.append(camera.status())
File "/usr/local/lib/python3.7/site-packages/pyezviz/camera.py", line 97, in status
'follow_move': self._switch[TYPE_FOLLOW_MOVE]['enable'],
KeyError: 25