From 9353ad069032b2703171deec0acc5e521f1f5e3a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 2 Mar 2024 14:18:03 -1000 Subject: [PATCH] Import switchbot in the executor to avoid blocking the event loop (#112077) --- homeassistant/components/switchbot/manifest.json | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/switchbot/manifest.json b/homeassistant/components/switchbot/manifest.json index 401d85e7376..2233adf35b7 100644 --- a/homeassistant/components/switchbot/manifest.json +++ b/homeassistant/components/switchbot/manifest.json @@ -37,6 +37,7 @@ "config_flow": true, "dependencies": ["bluetooth_adapters"], "documentation": "https://www.home-assistant.io/integrations/switchbot", + "import_executor": true, "iot_class": "local_push", "loggers": ["switchbot"], "requirements": ["PySwitchbot==0.45.0"]