mirror of
https://github.com/esphome/esphome.git
synced 2025-02-24 13:58:14 +00:00
17 lines
330 B
C++
17 lines
330 B
C++
#include "custom_sensor.h"
|
|
#include "esphome/core/log.h"
|
|
|
|
namespace esphome {
|
|
namespace custom {
|
|
|
|
static const char *const TAG = "custom.sensor";
|
|
|
|
void CustomSensorConstructor::dump_config() {
|
|
for (auto *child : this->sensors_) {
|
|
LOG_SENSOR("", "Custom Sensor", child);
|
|
}
|
|
}
|
|
|
|
} // namespace custom
|
|
} // namespace esphome
|