This commit is contained in:
J. Nick Koston 2025-07-08 09:26:13 -06:00
parent f2ac6b0af6
commit 02395c92a1
No known key found for this signature in database
2 changed files with 2 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")
RuntimeStatsCollector = runtime_stats_ns.class_("RuntimeStatsCollector", cg.Component)
CONFIG_SCHEMA = cv.Schema(
{

View File

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