mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Import switchbot in the executor to avoid blocking the event loop (#112077)
This commit is contained in:
parent
3808e8b0bc
commit
9353ad0690
@ -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"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user