diff --git a/source/_integrations/profiler.markdown b/source/_integrations/profiler.markdown index e52cd8e0439..cdad5ac398a 100644 --- a/source/_integrations/profiler.markdown +++ b/source/_integrations/profiler.markdown @@ -199,3 +199,15 @@ Logs statistics from [lru_cache](https://docs.python.org/3/library/functools.htm | `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. + +### Service profiler.log_current_tasks + +{% my developer_call_service badge service="profiler.log_current_tasks" %} + +This service can help track down task leaks, or find tasks that are delaying startup. + +An example is below: + +```txt +[homeassistant.components.profiler] Task: wait_for=> +```