From d950d3868d2d07a7643c7bcc59e518f446970956 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 4 Dec 2025 17:01:38 -0600 Subject: [PATCH] fix --- esphome/components/api/api_server.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esphome/components/api/api_server.cpp b/esphome/components/api/api_server.cpp index 897cf8c41f..9106e7aefa 100644 --- a/esphome/components/api/api_server.cpp +++ b/esphome/components/api/api_server.cpp @@ -105,6 +105,9 @@ void APIServer::setup() { camera::Camera::instance()->add_listener(this); } #endif + + // Initialize last_connected_ for reboot timeout tracking + this->last_connected_ = millis(); } void APIServer::loop() {