1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-11 07:42:26 +01:00
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

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(
{

View File

@@ -1,4 +1,5 @@
#include "runtime_stats.h"
#include "esphome/core/defines.h"
#ifdef USE_RUNTIME_STATS

View File

@@ -87,7 +87,7 @@ struct ComponentStatPair {
}
};
class RuntimeStatsCollector : public Component {
class RuntimeStatsCollector {
public:
RuntimeStatsCollector();