From 56c85505a79a9de0c32806c8feefd580d294464c Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 26 Feb 2024 17:47:49 -1000 Subject: [PATCH] Import spotify in the executor to avoid blocking the event loop `2024-02-26 21:44:07.835 DEBUG (MainThread) [homeassistant.loader] Importing platform spotify.config_flow took 1.40s (loaded_executor=False)` --- homeassistant/components/spotify/manifest.json | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/spotify/manifest.json b/homeassistant/components/spotify/manifest.json index 84f2bc102e3b66..94475794fdf9be 100644 --- a/homeassistant/components/spotify/manifest.json +++ b/homeassistant/components/spotify/manifest.json @@ -5,6 +5,7 @@ "config_flow": true, "dependencies": ["application_credentials"], "documentation": "https://www.home-assistant.io/integrations/spotify", + "import_executor": true, "integration_type": "service", "iot_class": "cloud_polling", "loggers": ["spotipy"],