Fix onvif consistent return (#33898)

This commit is contained in:
Paulus Schoutsen 2020-04-09 09:51:23 -07:00
parent ecb37d0bdf
commit c3ac8869b0

View File

@ -525,6 +525,8 @@ class ONVIFHassCamera(Camera):
error,
)
return None
image = await self.hass.async_add_job(fetch)
if image is None: