From 1fe1a3d2c85dfde6e955ae4d656f2122440813e7 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 21 Nov 2025 11:00:23 -0600 Subject: [PATCH] fix date --- esphome/core/component.cpp | 4 ++-- esphome/core/component.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/esphome/core/component.cpp b/esphome/core/component.cpp index b6a18c1d85..aa487d8ef5 100644 --- a/esphome/core/component.cpp +++ b/esphome/core/component.cpp @@ -37,7 +37,7 @@ struct ComponentErrorMessage { const Component *component; const char *message; // Track if message is flash pointer (needs LOG_STR_ARG) or RAM pointer - // Remove before 2026.12.0 when deprecated const char* API is removed + // Remove before 2026.6.0 when deprecated const char* API is removed bool is_flash_ptr; }; @@ -54,7 +54,7 @@ std::unique_ptr> component_error_messages; std::unique_ptr> setup_priority_overrides; // Helper to store error messages - reduces duplication between deprecated and new API -// Remove before 2026.12.0 when deprecated const char* API is removed +// Remove before 2026.6.0 when deprecated const char* API is removed void store_component_error_message(const Component *component, const char *message, bool is_flash_ptr) { // Lazy allocate the error messages vector if needed if (!component_error_messages) { diff --git a/esphome/core/component.h b/esphome/core/component.h index e1153fdf53..3415114992 100644 --- a/esphome/core/component.h +++ b/esphome/core/component.h @@ -217,8 +217,8 @@ class Component { void status_set_warning(const char *message = nullptr); 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") + // Remove before 2026.6.0 + ESPDEPRECATED("Use status_set_error(LOG_STR(message)) instead. Will stop working in 2026.6.0", "2025.12.0") void status_set_error(const char *message = nullptr); void status_set_error(const LogString *message);