From 4df2398b9f95a043108f49f4ba0235ae282110db Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 15 Mar 2024 00:02:10 -1000 Subject: [PATCH] Move loading of ha-av to the executor (#113485) --- homeassistant/components/stream/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/stream/__init__.py b/homeassistant/components/stream/__init__.py index 3c36a78f13c..4959f51a0db 100644 --- a/homeassistant/components/stream/__init__.py +++ b/homeassistant/components/stream/__init__.py @@ -220,7 +220,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: logging.getLogger(logging_namespace).setLevel(logging.ERROR) # This will load av so we run it in the executor - await hass.async_add_import_executor_job(set_pyav_logging, debug_enabled) + await hass.async_add_executor_job(set_pyav_logging, debug_enabled) # Keep import here so that we can import stream integration without installing reqs # pylint: disable-next=import-outside-toplevel