This commit is contained in:
J. Nick Koston
2025-07-08 09:28:09 -06:00
parent 02395c92a1
commit d1609de25a
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ DEPENDENCIES = []
CONF_LOG_INTERVAL = "log_interval"
runtime_stats_ns = cg.esphome_ns.namespace("runtime_stats")
RuntimeStatsCollector = runtime_stats_ns.class_("RuntimeStatsCollector", cg.Component)
RuntimeStatsCollector = runtime_stats_ns.class_("RuntimeStatsCollector")
CONFIG_SCHEMA = cv.Schema(
{
@@ -1,4 +1,5 @@
#include "runtime_stats.h"
#include "esphome/core/defines.h"
#ifdef USE_RUNTIME_STATS
@@ -87,7 +87,7 @@ struct ComponentStatPair {
}
};
class RuntimeStatsCollector : public Component {
class RuntimeStatsCollector {
public:
RuntimeStatsCollector();