[core] Optimize and normalize entity state publishing logs with >> format (#13236)

This commit is contained in:
J. Nick Koston authored and Jonathan Swoboda committed 2026-01-15 15:26:04 -05:00
1 parent 3c63ff5e36
commit 0b5a3506cc
19 files changed
+23 -23

No files matched your search

+1 -2
View File
@@ -26,8 +26,7 @@ void TimeEntity::publish_state() {
return;
}
this->set_has_state(true);
ESP_LOGD(TAG, "'%s': Sending time %02d:%02d:%02d", this->get_name().c_str(), this->hour_, this->minute_,
this->second_);
ESP_LOGD(TAG, "'%s' >> %02d:%02d:%02d", this->get_name().c_str(), this->hour_, this->minute_, this->second_);
this->state_callback_.call();
#if defined(USE_DATETIME_TIME) && defined(USE_CONTROLLER_REGISTRY)
ControllerRegistry::notify_time_update(this);