From 38e2e4a56d86f8b5f665a6ab6e66519de5513666 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 11 Jan 2026 17:18:49 -1000 Subject: [PATCH] [runtime_stats] Fix log output formatting alignment (#13155) --- esphome/components/runtime_stats/runtime_stats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/runtime_stats/runtime_stats.cpp b/esphome/components/runtime_stats/runtime_stats.cpp index 7e837a18e8..9a1e1a109a 100644 --- a/esphome/components/runtime_stats/runtime_stats.cpp +++ b/esphome/components/runtime_stats/runtime_stats.cpp @@ -29,7 +29,7 @@ void RuntimeStatsCollector::record_component_time(Component *component, uint32_t void RuntimeStatsCollector::log_stats_() { ESP_LOGI(TAG, "Component Runtime Statistics\n" - "Period stats (last %" PRIu32 "ms):", + " Period stats (last %" PRIu32 "ms):", this->log_interval_); // First collect stats we want to display @@ -55,7 +55,7 @@ void RuntimeStatsCollector::log_stats_() { } // Log total stats since boot - ESP_LOGI(TAG, "Total stats (since boot):"); + ESP_LOGI(TAG, " Total stats (since boot):"); // Re-sort by total runtime for all-time stats std::sort(stats_to_display.begin(), stats_to_display.end(),