From 501a5f8df44856afeb54b2e74735b71bb073b462 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 4 Dec 2025 17:49:49 -0600 Subject: [PATCH] Update esphome/components/api/api_server.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- esphome/components/api/api_server.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/esphome/components/api/api_server.cpp b/esphome/components/api/api_server.cpp index 1cd85a1a52..565714a4e5 100644 --- a/esphome/components/api/api_server.cpp +++ b/esphome/components/api/api_server.cpp @@ -108,6 +108,10 @@ void APIServer::setup() { // Initialize last_connected_ for reboot timeout tracking this->last_connected_ = App.get_loop_component_start_time(); + // Set warning status if reboot timeout is enabled + if (this->reboot_timeout_ != 0) { + this->status_set_warning(); + } } void APIServer::loop() {