From 51ef6112bd1afc0c169ffb0cb6559781244af268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Mon, 22 Sep 2025 14:50:10 +0200 Subject: [PATCH] Add documentation for profiler.dump_sockets service (#40897) Co-authored-by: Stefan Agner Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- source/_integrations/profiler.markdown | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/source/_integrations/profiler.markdown b/source/_integrations/profiler.markdown index ac135ef0bd9..b4a4760982c 100644 --- a/source/_integrations/profiler.markdown +++ b/source/_integrations/profiler.markdown @@ -213,3 +213,23 @@ An example is below: ```txt [homeassistant.components.profiler] Task: wait_for=> ``` + +### Action profiler.dump_sockets + +{% my developer_call_service badge service="profiler.dump_sockets" %} + +Log all sockets used by Home Assistant. This action can help identify what network connections are currently open, mainly to help track down connections that are not being closed properly. + +Example output: + +```txt +[homeassistant.components.profiler] Sockets used by Home Assistant: + + + + + + + +... +```