Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start

resp = await task


 "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle

resp = await handler(request)


 "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl

return await handler(request)


 "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware

return await handler(request)


 "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 127, in auth_middleware

return await handler(request)


 "/usr/src/homeassistant/homeassistant/components/http/view.py", line 123, in handle

result = await result


 "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 492, in get

return await self.handle(request, camera)


 "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 509, in handle

image = await camera.async_camera_image()


 "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 376, in async_camera_image

return await self.hass.async_add_job(self.camera_image)


 "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/src/homeassistant/homeassistant/components/skybell/camera.py", line 82, in camera_image

if self._url != self.image_url:


 "/usr/src/homeassistant/homeassistant/components/skybell/camera.py", line 75, in image_url

return self._device.activity_image


 "/usr/local/lib/python3.7/site-packages/skybellpy/device.py", line 216, in activity_image

return self.latest().get(CONST.MEDIA_URL)
AttributeError: 'NoneType' object has no attribute 'get'

Traceback (most recent call last):


 "/home/cic/.local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start

resp = await task


 "/home/cic/.local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle

resp = await handler(request)


 "/home/cic/.local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl

return await handler(request)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware

return await handler(request)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/http/ban.py", line 73, in ban_middleware

return await handler(request)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/http/auth.py", line 127, in auth_middleware

return await handler(request)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/http/view.py", line 125, in handle

result = await result


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/config/config_entries.py", line 145, in post

return await super().post(request, flow_id)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/http/data_validator.py", line 54, in wrapper

result = await method(view, request, *args, **kwargs)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/helpers/data_entry_flow.py", line 103, in post

result = await self._flow_mgr.async_configure(flow_id, data)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 153, in async_configure

result = await self._async_handle_step(flow, cur_step["step_id"], user_input)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 201, in _async_handle_step

result: Dict = await getattr(flow, method)(user_input)


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/onvif/config_flow.py", line 170, in async_step_auth

return await self.async_step_profiles()


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/onvif/config_flow.py", line 223, in async_step_profiles

for profile in profiles


 "/home/cic/.local/lib/python3.7/site-packages/homeassistant/components/onvif/config_flow.py", line 223, in <genexpr>

for profile in profiles
AttributeError: 'NoneType' object has no attribute 'Encoding'
