From 7bb222a574dedea8b70522e8c9bbc904b0c52aa0 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 18 Oct 2025 21:51:51 -1000 Subject: [PATCH] Update esphome/components/script/script.h Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- esphome/components/script/script.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/script/script.h b/esphome/components/script/script.h index 86edd3b3e4..55967ead06 100644 --- a/esphome/components/script/script.h +++ b/esphome/components/script/script.h @@ -116,7 +116,7 @@ template class QueueingScript : public Script, public Com // max_runs_ is the maximum *total* instances (running + queued) // So we reject when num_queued_ + 1 >= max_runs_ (queued + running >= max) if (this->num_queued_ + 1 >= this->max_runs_) { - this->esp_logw_(__LINE__, ESPHOME_LOG_FORMAT("Script '%s' maximum number of queued runs exceeded!"), + this->esp_logw_(__LINE__, ESPHOME_LOG_FORMAT("Script '%s' maximum total instances (running + queued) exceeded!"), LOG_STR_ARG(this->name_)); return; }