From 80ad4f123276c5f263b94fd19b1ca2e01f0deb54 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 26 Feb 2024 18:21:10 -1000 Subject: [PATCH] Import thread in the executor to avoid blocking the event loop (#111586) Import thread in the executor DEBUG (MainThread) [homeassistant.loader] Importing platform thread.config_flow took 2.92s (loaded_executor=False) --- homeassistant/components/thread/manifest.json | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/thread/manifest.json b/homeassistant/components/thread/manifest.json index 65d4c9d044c..19d8fa76c66 100644 --- a/homeassistant/components/thread/manifest.json +++ b/homeassistant/components/thread/manifest.json @@ -5,6 +5,7 @@ "config_flow": true, "dependencies": ["zeroconf"], "documentation": "https://www.home-assistant.io/integrations/thread", + "import_executor": true, "integration_type": "service", "iot_class": "local_polling", "requirements": ["python-otbr-api==2.6.0", "pyroute2==0.7.5"],