Fix onvif consistent return (#33898)

This commit is contained in:
Paulus Schoutsen
2020-04-09 09:51:23 -07:00
committed by GitHub
parent bc26be3c11
commit 32499dc8fe

View File

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