Import rest in the executor to avoid blocking the event loop (#111804)

fixes #111803

`2024-02-28 15:43:53.708 DEBUG (MainThread) [homeassistant.loader] Component rest import took 1.646 seconds (loaded_executor=False) `
This commit is contained in:
J. Nick Koston 2024-02-29 05:37:36 -10:00 committed by GitHub
parent aa183ed09e
commit f44b759a99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,6 +3,7 @@
"name": "RESTful",
"codeowners": [],
"documentation": "https://www.home-assistant.io/integrations/rest",
"import_executor": true,
"iot_class": "local_polling",
"requirements": ["jsonpath==0.82.2", "xmltodict==0.13.0"]
}