ESPHome
2024.11.3
esphome
esphome
components
ld2420
text_sensor
text_sensor.cpp
Go to the documentation of this file.
1
#include "text_sensor.h"
2
#include "
esphome/core/helpers.h
"
3
#include "
esphome/core/log.h
"
4
5
namespace
esphome
{
6
namespace
ld2420 {
7
8
static
const
char
*
const
TAG =
"LD2420.text_sensor"
;
9
10
void
LD2420TextSensor::dump_config
() {
11
ESP_LOGCONFIG(TAG,
"LD2420 TextSensor:"
);
12
LOG_TEXT_SENSOR(
" "
,
"Firmware"
, this->
fw_version_text_sensor_
);
13
}
14
15
}
// namespace ld2420
16
}
// namespace esphome
esphome::ld2420::LD2420TextSensor::dump_config
void dump_config() override
Definition:
text_sensor.cpp:10
esphome::ld2420::LD2420TextSensor::fw_version_text_sensor_
text_sensor::TextSensor * fw_version_text_sensor_
Definition:
text_sensor.h:20
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
helpers.h
log.h
Generated by
1.8.13