Import switchbot in the executor to avoid blocking the event loop (#112077)

pull/112081/head
J. Nick Koston 2024-03-02 14:18:03 -10:00 committed by GitHub
parent 3808e8b0bc
commit 9353ad0690
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@
"config_flow": true, "config_flow": true,
"dependencies": ["bluetooth_adapters"], "dependencies": ["bluetooth_adapters"],
"documentation": "https://www.home-assistant.io/integrations/switchbot", "documentation": "https://www.home-assistant.io/integrations/switchbot",
"import_executor": true,
"iot_class": "local_push", "iot_class": "local_push",
"loggers": ["switchbot"], "loggers": ["switchbot"],
"requirements": ["PySwitchbot==0.45.0"] "requirements": ["PySwitchbot==0.45.0"]