mirror of
https://github.com/esphome/esphome.git
synced 2026-02-21 08:55:36 -07:00
clear
This commit is contained in:
@@ -159,7 +159,9 @@ class Component {
|
||||
virtual void mark_failed();
|
||||
|
||||
// Remove before 2026.6.0
|
||||
ESPDEPRECATED("Use mark_failed(LOG_STR(message)) instead. Will stop working in 2026.6.0", "2025.12.0")
|
||||
ESPDEPRECATED("Use mark_failed(LOG_STR(\"static string literal\")) instead. Do NOT use .c_str() from temporary "
|
||||
"strings. Will stop working in 2026.6.0",
|
||||
"2025.12.0")
|
||||
void mark_failed(const char *message) {
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
@@ -229,7 +231,9 @@ class Component {
|
||||
|
||||
void status_set_error(); // Set error flag without message
|
||||
// Remove before 2026.6.0
|
||||
ESPDEPRECATED("Use status_set_error(LOG_STR(message)) instead. Will stop working in 2026.6.0", "2025.12.0")
|
||||
ESPDEPRECATED("Use status_set_error(LOG_STR(\"static string literal\")) instead. Do NOT use .c_str() from temporary "
|
||||
"strings. Will stop working in 2026.6.0",
|
||||
"2025.12.0")
|
||||
void status_set_error(const char *message);
|
||||
void status_set_error(const LogString *message);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user