Import thread in the executor to avoid blocking the event loop (#111586)

Import thread in the executor

DEBUG (MainThread) [homeassistant.loader] Importing platform thread.config_flow took 2.92s (loaded_executor=False)
This commit is contained in:
J. Nick Koston 2024-02-26 18:21:10 -10:00 committed by GitHub
parent 7a3f829eac
commit 80ad4f1232
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,7 @@
"config_flow": true,
"dependencies": ["zeroconf"],
"documentation": "https://www.home-assistant.io/integrations/thread",
"import_executor": true,
"integration_type": "service",
"iot_class": "local_polling",
"requirements": ["python-otbr-api==2.6.0", "pyroute2==0.7.5"],