mirror of
https://github.com/esphome/esphome.git
synced 2025-08-05 09:57:47 +00:00
cleanup
This commit is contained in:
parent
f2ac6b0af6
commit
02395c92a1
@ -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(
|
||||||
{
|
{
|
||||||
|
@ -87,7 +87,7 @@ struct ComponentStatPair {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class RuntimeStatsCollector {
|
class RuntimeStatsCollector : public Component {
|
||||||
public:
|
public:
|
||||||
RuntimeStatsCollector();
|
RuntimeStatsCollector();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user