ESPHome
2024.11.0
esphome
esphome
components
custom
binary_sensor
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
9
void
CustomBinarySensorConstructor::dump_config
() {
10
for
(
auto
*child : this->
binary_sensors_
) {
11
LOG_BINARY_SENSOR(
""
,
"Custom Binary Sensor"
, child);
12
}
13
}
14
15
}
// namespace custom
16
}
// namespace esphome
esphome::custom::CustomBinarySensorConstructor::dump_config
void dump_config() override
Definition:
custom_binary_sensor.cpp:9
esphome::custom::CustomBinarySensorConstructor::binary_sensors_
std::vector< binary_sensor::BinarySensor * > binary_sensors_
Definition:
custom_binary_sensor.h:22
custom_binary_sensor.h
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
log.h
Generated by
1.8.13