1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-03 11:52:20 +01:00

Merge remote-tracking branch 'origin/log_sensor' into log_sensor

This commit is contained in:
J. Nick Koston
2025-08-18 21:06:34 -05:00

View File

@@ -12,10 +12,8 @@
namespace esphome {
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) \