From b40978597cfa3cf0643635aa56c9546d95914f9d Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 28 Feb 2024 16:02:25 -1000 Subject: [PATCH] Import discord in the executor to avoid blocking the event loop (#111790) `2024-02-28 19:20:04.485 DEBUG (MainThread) [homeassistant.loader] Component discord import took 1.181 seconds (loaded_executor=False)` --- homeassistant/components/discord/manifest.json | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/discord/manifest.json b/homeassistant/components/discord/manifest.json index 5f1ba2a13ef..78d4dc203e2 100644 --- a/homeassistant/components/discord/manifest.json +++ b/homeassistant/components/discord/manifest.json @@ -4,6 +4,7 @@ "codeowners": ["@tkdrob"], "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/discord", + "import_executor": true, "integration_type": "service", "iot_class": "cloud_push", "loggers": ["discord"],