Import xbox in the executor to avoid blocking the event loop (#111625)

`Component xbox import took 0.326 seconds (loaded_executor=False)
`
This commit is contained in:
J. Nick Koston 2024-02-27 03:35:33 -10:00 committed by GitHub
parent 08497db358
commit 7fbd10019a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,7 @@
"config_flow": true,
"dependencies": ["auth", "application_credentials"],
"documentation": "https://www.home-assistant.io/integrations/xbox",
"import_executor": true,
"iot_class": "cloud_polling",
"requirements": ["xbox-webapi==2.0.11"]
}