From f44b759a9985e10e8e70077814c2787c6e64d8cf Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 29 Feb 2024 05:37:36 -1000 Subject: [PATCH] Import rest in the executor to avoid blocking the event loop (#111804) fixes #111803 `2024-02-28 15:43:53.708 DEBUG (MainThread) [homeassistant.loader] Component rest import took 1.646 seconds (loaded_executor=False) ` --- homeassistant/components/rest/manifest.json | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/rest/manifest.json b/homeassistant/components/rest/manifest.json index d638c20d2a4..d8dc1b19f1c 100644 --- a/homeassistant/components/rest/manifest.json +++ b/homeassistant/components/rest/manifest.json @@ -3,6 +3,7 @@ "name": "RESTful", "codeowners": [], "documentation": "https://www.home-assistant.io/integrations/rest", + "import_executor": true, "iot_class": "local_polling", "requirements": ["jsonpath==0.82.2", "xmltodict==0.13.0"] }