Compare commits

...

1 Commits

Author SHA1 Message Date
J. Nick Koston
bb5cf03961 bot comments 2026-02-13 09:07:06 -06:00

View File

@@ -235,7 +235,8 @@ class EntityBase_UnitOfMeasurement { // NOLINT(readability-identifier-naming)
#define LOG_ENTITY_ICON(tag, prefix, obj) log_entity_icon(tag, prefix, obj)
void log_entity_icon(const char *tag, const char *prefix, const EntityBase &obj);
#else
#define LOG_ENTITY_ICON(tag, prefix, obj)
#define LOG_ENTITY_ICON(tag, prefix, obj) ((void) 0)
inline void log_entity_icon(const char *, const char *, const EntityBase &) {}
#endif
/// Log entity device class if set (for use in dump_config)
#define LOG_ENTITY_DEVICE_CLASS(tag, prefix, obj) log_entity_device_class(tag, prefix, obj)