1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-11 15:52:20 +01:00
This commit is contained in:
J. Nick Koston
2025-07-08 09:26:13 -06:00
parent f2ac6b0af6
commit 02395c92a1
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ DEPENDENCIES = []
CONF_LOG_INTERVAL = "log_interval" CONF_LOG_INTERVAL = "log_interval"
runtime_stats_ns = cg.esphome_ns.namespace("runtime_stats") runtime_stats_ns = cg.esphome_ns.namespace("runtime_stats")
RuntimeStatsCollector = runtime_stats_ns.class_("RuntimeStatsCollector") RuntimeStatsCollector = runtime_stats_ns.class_("RuntimeStatsCollector", cg.Component)
CONFIG_SCHEMA = cv.Schema( CONFIG_SCHEMA = cv.Schema(
{ {

View File

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