ESPHome  2024.12.2
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 
11  ESP_LOGCONFIG(TAG, "LD2420 TextSensor:");
12  LOG_TEXT_SENSOR(" ", "Firmware", this->fw_version_text_sensor_);
13 }
14 
15 } // namespace ld2420
16 } // namespace esphome
text_sensor::TextSensor * fw_version_text_sensor_
Definition: text_sensor.h:20
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7