ESPHome  2022.6.3
custom_text_sensor.cpp
Go to the documentation of this file.
1 #include "custom_text_sensor.h"
2 #include "esphome/core/log.h"
3 
4 namespace esphome {
5 namespace custom {
6 
7 static const char *const TAG = "custom.text_sensor";
8 
10  for (auto *child : this->text_sensors_) {
11  LOG_TEXT_SENSOR("", "Custom Text Sensor", child);
12  }
13 }
14 
15 } // namespace custom
16 } // namespace esphome
std::vector< text_sensor::TextSensor * > text_sensors_
Definition: a4988.cpp:4