ESPHome  2024.5.4
custom_sensor.cpp
Go to the documentation of this file.
1 #include "custom_sensor.h"
2 #include "esphome/core/log.h"
3 
4 namespace esphome {
5 namespace custom {
6 
7 static const char *const TAG = "custom.sensor";
8 
10  for (auto *child : this->sensors_) {
11  LOG_SENSOR("", "Custom Sensor", child);
12  }
13 }
14 
15 } // namespace custom
16 } // namespace esphome
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7
std::vector< sensor::Sensor * > sensors_
Definition: custom_sensor.h:20