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