Update logbook to use async_add_executor_job (#38217)

pull/38234/head
J. Nick Koston 2020-07-25 22:42:28 -10:00 committed by GitHub
parent a39aec862e
commit f6b0f8d6de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class LogbookView(HomeAssistantView):
)
)
return await hass.async_add_job(json_events)
return await hass.async_add_executor_job(json_events)
def humanify(hass, events, entity_attr_cache):