From 7a1448ed1956c0ac159b872eb35ff91c3473f725 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 21 Feb 2026 17:18:21 -0600 Subject: [PATCH] Update esphome/components/socket/__init__.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- esphome/components/socket/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/socket/__init__.py b/esphome/components/socket/__init__.py index 3369779942e..db65635a892 100644 --- a/esphome/components/socket/__init__.py +++ b/esphome/components/socket/__init__.py @@ -23,7 +23,7 @@ KEY_SOCKET_CONSUMERS_TCP_LISTEN = "socket_consumers_tcp_listen" # Recommended minimum socket counts to ensure headroom. # Platforms should apply these (or their own) on top of get_socket_counts(). -# TCP: api(3) = 3 base, +7 headroom for web_server(5)/ota-transfer/other. +# TCP: Typical setup: api(3) + web_server(5) = 8 registered, +2 headroom for ota-transfer/other = 10 total. # UDP: dhcp(1) + dns(1) + mdns(2) + wake_loop(1) = 5 base, +3 headroom. MIN_TCP_SOCKETS = 10 MIN_UDP_SOCKETS = 8