From 76a59759b21ecca5eb9f173ed0ccecd8cc558535 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 23 Jun 2025 11:37:27 +0200 Subject: [PATCH] preen --- esphome/components/api/api_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/api/api_server.cpp b/esphome/components/api/api_server.cpp index 156cf7cc6e..13c3ba0ec4 100644 --- a/esphome/components/api/api_server.cpp +++ b/esphome/components/api/api_server.cpp @@ -157,11 +157,11 @@ void APIServer::loop() { } } - // Process clients and remove disconnected ones in a single pass if (this->clients_.empty()) { return; } + // Process clients and remove disconnected ones in a single pass // Check network connectivity once for all clients if (!network::is_connected()) { // Network is down - disconnect all clients