ESPHome
2024.10.2
esphome
esphome
components
custom
sensor
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
9
void
CustomSensorConstructor::dump_config
() {
10
for
(
auto
*child : this->
sensors_
) {
11
LOG_SENSOR(
""
,
"Custom Sensor"
, child);
12
}
13
}
14
15
}
// namespace custom
16
}
// namespace esphome
esphome::custom::CustomSensorConstructor::dump_config
void dump_config() override
Definition:
custom_sensor.cpp:9
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
esphome::custom::CustomSensorConstructor::sensors_
std::vector< sensor::Sensor * > sensors_
Definition:
custom_sensor.h:20
log.h
custom_sensor.h
Generated by
1.8.13