1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-20 00:35:44 +00:00

Revert "[core] Deduplicate entity icon and device class logging"

This reverts commit 2ddfabe09e.
This commit is contained in:
J. Nick Koston
2025-11-05 23:46:49 -06:00
parent ffd5b12324
commit e17b69c20d
17 changed files with 99 additions and 64 deletions

View File

@@ -16,7 +16,9 @@ namespace datetime {
#define LOG_DATETIME_DATE(prefix, type, obj) \
if ((obj) != nullptr) { \
ESP_LOGCONFIG(TAG, "%s%s '%s'", prefix, LOG_STR_LITERAL(type), (obj)->get_name().c_str()); \
(obj)->log_icon(TAG, prefix); \
if (!(obj)->get_icon_ref().empty()) { \
ESP_LOGCONFIG(TAG, "%s Icon: '%s'", prefix, (obj)->get_icon_ref().c_str()); \
} \
}
class DateCall;