Import switchbot in the executor to avoid blocking the event loop (#112077)
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…
Reference in New Issue