mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Update logbook to use async_add_executor_job (#38217)
This commit is contained in:
@@ -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):
|
def humanify(hass, events, entity_attr_cache):
|
||||||
|
Reference in New Issue
Block a user