diff --git a/esphome/components/runtime_stats/runtime_stats.h b/esphome/components/runtime_stats/runtime_stats.h index 20b0c08313..e2f8bee563 100644 --- a/esphome/components/runtime_stats/runtime_stats.h +++ b/esphome/components/runtime_stats/runtime_stats.h @@ -23,10 +23,10 @@ class ComponentRuntimeStats { public: ComponentRuntimeStats() : period_count_(0), - total_count_(0), period_time_ms_(0), - total_time_ms_(0), period_max_time_ms_(0), + total_count_(0), + total_time_ms_(0), total_max_time_ms_(0) {} void record_time(uint32_t duration_ms) {