mirror of
https://github.com/esphome/esphome.git
synced 2025-09-28 16:12:24 +01:00
Update esphome/components/text_sensor/text_sensor.cpp
This commit is contained in:
@@ -6,7 +6,6 @@ namespace text_sensor {
|
|||||||
|
|
||||||
static const char *const TAG = "text_sensor";
|
static const char *const TAG = "text_sensor";
|
||||||
|
|
||||||
// Function implementation of LOG_TEXT_SENSOR macro to reduce code size
|
|
||||||
void log_text_sensor(const char *tag, const char *prefix, const char *type, TextSensor *obj) {
|
void log_text_sensor(const char *tag, const char *prefix, const char *type, TextSensor *obj) {
|
||||||
if (obj == nullptr) {
|
if (obj == nullptr) {
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user