diff --git a/source/_integrations/profiler.markdown b/source/_integrations/profiler.markdown index 1c78faa4a86..8563b5cda1e 100644 --- a/source/_integrations/profiler.markdown +++ b/source/_integrations/profiler.markdown @@ -187,3 +187,13 @@ Each upcoming scheduled item is logged similar to the below example: {% my developer_call_service badge service="profiler.lru_stats" %} Logs statistics from [lru_cache](https://docs.python.org/3/library/functools.html#functools.lru_cache) and [lru-dict](https://pypi.org/project/lru-dict/) to help tune Home Assistant and locate memory leaks. + +### Service profiler.set_asyncio_debug + +{% my developer_call_service badge service="profiler.set_asyncio_debug" %} + +| Service data attribute | Optional | Description | +| ---------------------- | -------- | -------------------------------------- | +| `enabled` | yes | Boolean to enable asyncio debug. | + +When `set_asyncio_debug` is enabled, `asyncio` will run in [debug mode](https://docs.python.org/3/library/asyncio-dev.html#debug-mode). Use this service to help identify an integration that is blocking the event loop. \ No newline at end of file