mirror of
https://github.com/esphome/esphome.git
synced 2025-09-08 06:12:20 +01:00
merge
This commit is contained in:
@@ -294,7 +294,7 @@ void Component::status_set_warning(const LogString *message) {
|
|||||||
return;
|
return;
|
||||||
this->component_state_ |= STATUS_LED_WARNING;
|
this->component_state_ |= STATUS_LED_WARNING;
|
||||||
App.app_state_ |= STATUS_LED_WARNING;
|
App.app_state_ |= STATUS_LED_WARNING;
|
||||||
ESP_LOGW(TAG, "%s set Warning flag: %s", this->get_component_source(),
|
ESP_LOGW(TAG, "%s set Warning flag: %s", LOG_STR_ARG(this->get_component_log_str()),
|
||||||
message ? LOG_STR_ARG(message) : LOG_STR_LITERAL("unspecified"));
|
message ? LOG_STR_ARG(message) : LOG_STR_LITERAL("unspecified"));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user