diff --git a/esphome/core/component.h b/esphome/core/component.h index 35f92c5d24..e1153fdf53 100644 --- a/esphome/core/component.h +++ b/esphome/core/component.h @@ -218,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);