Update legacy job calls in abode (#33607)

This commit is contained in:
shred86 2020-04-04 09:30:00 -07:00 committed by GitHub
parent e8a0abd107
commit 29d06e8faf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -41,7 +41,7 @@ class AbodeCamera(AbodeDevice, Camera):
"""Subscribe Abode events."""
await super().async_added_to_hass()
self.hass.async_add_job(
self.hass.async_add_executor_job(
self._data.abode.events.add_timeline_callback,
self._event,
self._capture_callback,