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:
J. Nick Koston 2024-02-26 18:20:55 -10:00 committed by GitHub
parent b1e2eafe26
commit 7a3f829eac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,7 @@
"homekit": {
"models": ["Socket", "Wemo"]
},
"import_executor": true,
"iot_class": "local_push",
"loggers": ["pywemo"],
"requirements": ["pywemo==1.4.0"],