From 7cbc890c0d9446c08d2647332adb8f6dc78cb2d0 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 20 Nov 2025 12:12:14 -0600 Subject: [PATCH] syntax --- esphome/core/component.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esphome/core/component.h b/esphome/core/component.h index e8782f1327..35f92c5d24 100644 --- a/esphome/core/component.h +++ b/esphome/core/component.h @@ -5,6 +5,7 @@ #include #include +#include "esphome/core/helpers.h" #include "esphome/core/log.h" #include "esphome/core/optional.h" @@ -217,7 +218,7 @@ class Component { void status_set_warning(const LogString *message); // Remove before 2026.12.0 - ESPDEPRECATED("Use status_set_error(LOG_STR(\"message\")) instead. Removed in 2026.12.0", "2025.6.0") + ESPDEPRECATED("Use status_set_error(LOG_STR(\"message\")) instead. Removed in 2026.12.0", "2025.6.0"); void status_set_error(const char *message = nullptr); void status_set_error(const LogString *message);