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:
@@ -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) \
|
||||
|
Reference in New Issue
Block a user