ESPHome  2024.12.2
custom_binary_sensor.cpp
Go to the documentation of this file.
1 #include "custom_binary_sensor.h"
2 #include "esphome/core/log.h"
3 
4 namespace esphome {
5 namespace custom {
6 
7 static const char *const TAG = "custom.binary_sensor";
8 
10  for (auto *child : this->binary_sensors_) {
11  LOG_BINARY_SENSOR("", "Custom Binary Sensor", child);
12  }
13 }
14 
15 } // namespace custom
16 } // namespace esphome
std::vector< binary_sensor::BinarySensor * > binary_sensors_
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7