Import upnp in the executor to avoid blocking the event loop (#111808)

`2024-02-29 01:23:54.490 DEBUG (MainThread) [homeassistant.loader] Component upnp import took 0.349 seconds (loaded_executor=False)
`
This commit is contained in:
J. Nick Koston 2024-02-29 05:36:22 -10:00 committed by GitHub
parent db9cda4fd2
commit a664f296e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,7 @@
"config_flow": true,
"dependencies": ["network", "ssdp"],
"documentation": "https://www.home-assistant.io/integrations/upnp",
"import_executor": true,
"integration_type": "device",
"iot_class": "local_polling",
"loggers": ["async_upnp_client"],