From b2a6e6e07830e4537ec90f9d72cc5fd83952d3c5 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 22 Dec 2025 10:53:11 -1000 Subject: [PATCH] undeprecate get_comment --- esphome/core/application.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/esphome/core/application.h b/esphome/core/application.h index f75cffda94..13461b3ebd 100644 --- a/esphome/core/application.h +++ b/esphome/core/application.h @@ -270,9 +270,7 @@ class Application { buffer[buffer.size() - 1] = '\0'; } - /// Get the comment of this Application (deprecated, use get_comment_string() instead) - // Remove before 2026.7.0 - ESPDEPRECATED("Use get_comment_string() instead. Removed in 2026.7.0", "2026.1.0") + /// Get the comment of this Application as a string std::string get_comment() { char buffer[ESPHOME_COMMENT_SIZE]; this->get_comment_string(buffer);