Skip to content
Snippets Groups Projects
Unverified Commit e791946f authored by J. Nick Koston's avatar J. Nick Koston Committed by GitHub
Browse files

Update generic camera to use async_add_executor_job (#41787)

parent b58ef6ae
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ class GenericCamera(Camera):
)
return self._last_image
self._last_image = await self.hass.async_add_job(fetch)
self._last_image = await self.hass.async_add_executor_job(fetch)
# async
else:
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment