From 94224c4c733bd333294fc383478af1a53eed97f1 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 29 Feb 2024 05:36:54 -1000 Subject: [PATCH] Import logbook in the executor to avoid blocking the event loop (#111807) This one is likely because of all the sqlalchemy object construction for the queries `Component logbook import took 0.245 seconds (loaded_executor=False)` --- homeassistant/components/logbook/manifest.json | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/logbook/manifest.json b/homeassistant/components/logbook/manifest.json index b6b68a1489e..923a3fa87b4 100644 --- a/homeassistant/components/logbook/manifest.json +++ b/homeassistant/components/logbook/manifest.json @@ -4,6 +4,7 @@ "codeowners": ["@home-assistant/core"], "dependencies": ["frontend", "http", "recorder"], "documentation": "https://www.home-assistant.io/integrations/logbook", + "import_executor": true, "integration_type": "system", "quality_scale": "internal" }