This commit is contained in:
J. Nick Koston
2025-11-20 12:12:14 -06:00
parent 3955b66379
commit 7cbc890c0d

View File

@@ -5,6 +5,7 @@
#include <functional>
#include <string>
#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);