mirror of
https://github.com/esphome/esphome.git
synced 2025-09-10 23:32:23 +01:00
cleanup
This commit is contained in:
@@ -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(
|
||||
{
|
||||
|
@@ -87,7 +87,7 @@ struct ComponentStatPair {
|
||||
}
|
||||
};
|
||||
|
||||
class RuntimeStatsCollector {
|
||||
class RuntimeStatsCollector : public Component {
|
||||
public:
|
||||
RuntimeStatsCollector();
|
||||
|
||||
|
Reference in New Issue
Block a user