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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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