mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 01:07:10 +00:00
Fix queries for logbook context_ids running in the wrong executor (#72778)
This commit is contained in:
parent
d9d22a9556
commit
935ef79156
@ -475,7 +475,7 @@ async def ws_get_events(
|
|||||||
)
|
)
|
||||||
|
|
||||||
connection.send_message(
|
connection.send_message(
|
||||||
await hass.async_add_executor_job(
|
await get_instance(hass).async_add_executor_job(
|
||||||
_ws_formatted_get_events,
|
_ws_formatted_get_events,
|
||||||
msg["id"],
|
msg["id"],
|
||||||
start_time,
|
start_time,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user