mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 00:07:10 +00:00
Move loading of ha-av to the executor (#113485)
This commit is contained in:
parent
2b2b5a2b02
commit
4df2398b9f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user