mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Import wemo in the executor to avoid blocking the event loop (#111587)
`2024-02-26 21:12:29.792 DEBUG (MainThread) [homeassistant.loader] Importing platform wemo.config_flow took 1.11s (loaded_executor=False)`
This commit is contained in:
parent
b1e2eafe26
commit
7a3f829eac
@ -7,6 +7,7 @@
|
|||||||
"homekit": {
|
"homekit": {
|
||||||
"models": ["Socket", "Wemo"]
|
"models": ["Socket", "Wemo"]
|
||||||
},
|
},
|
||||||
|
"import_executor": true,
|
||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
"loggers": ["pywemo"],
|
"loggers": ["pywemo"],
|
||||||
"requirements": ["pywemo==1.4.0"],
|
"requirements": ["pywemo==1.4.0"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user