diff --git a/esphome/components/sensor/sensor.h b/esphome/components/sensor/sensor.h index ebfdb31ae7..9f01e9d373 100644 --- a/esphome/components/sensor/sensor.h +++ b/esphome/components/sensor/sensor.h @@ -15,7 +15,6 @@ namespace sensor { // Forward declaration void log_sensor(const char *tag, const char *prefix, const char *type, Sensor *obj); -// Macro that calls the function - kept for backward compatibility #define LOG_SENSOR(prefix, type, obj) log_sensor(TAG, prefix, LOG_STR_LITERAL(type), obj) #define SUB_SENSOR(name) \