mirror of
https://github.com/esphome/esphome.git
synced 2025-11-18 07:45:56 +00:00
17 lines
379 B
C++
17 lines
379 B
C++
#include "text_sensor.h"
|
|
#include "esphome/core/helpers.h"
|
|
#include "esphome/core/log.h"
|
|
|
|
namespace esphome {
|
|
namespace ld2420 {
|
|
|
|
static const char *const TAG = "ld2420.text_sensor";
|
|
|
|
void LD2420TextSensor::dump_config() {
|
|
ESP_LOGCONFIG(TAG, "Text Sensor:");
|
|
LOG_TEXT_SENSOR(" ", "Firmware", this->fw_version_text_sensor_);
|
|
}
|
|
|
|
} // namespace ld2420
|
|
} // namespace esphome
|