Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make generic camera stream_source a template #36123

Merged
merged 9 commits into from
Jun 22, 2020
Merged
Prev Previous commit
Next Next commit
Fixed return result
  • Loading branch information
zvldz committed Jun 11, 2020
commit 4600034edd5603f00234a532fae5e2bbe4689a8a
2 changes: 1 addition & 1 deletion homeassistant/components/generic/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@ async def stream_source(self):
return self._stream_source.async_render()
MartinHjelmare marked this conversation as resolved.
Show resolved Hide resolved
except TemplateError as err:
_LOGGER.error("Error parsing template %s: %s", self._stream_source, err)
return self._stream_source
return None