Reduce ESP_LOGCONFIG calls (#9026)
This commit is contained in:
1 parent
80dddb4cae
commit
c0b05ada1a
218 files changed
+1569
-931
No files matched your search
@@ -66,9 +66,11 @@ void TemplateSelect::dump_config() {
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
if (this->f_.has_value())
|
||||
return;
|
||||
ESP_LOGCONFIG(TAG, " Optimistic: %s", YESNO(this->optimistic_));
|
||||
ESP_LOGCONFIG(TAG, " Initial Option: %s", this->initial_option_.c_str());
|
||||
ESP_LOGCONFIG(TAG, " Restore Value: %s", YESNO(this->restore_value_));
|
||||
ESP_LOGCONFIG(TAG,
|
||||
" Optimistic: %s\n"
|
||||
" Initial Option: %s\n"
|
||||
" Restore Value: %s",
|
||||
YESNO(this->optimistic_), this->initial_option_.c_str(), YESNO(this->restore_value_));
|
||||
}
|
||||
|
||||
} // namespace template_
|
||||
|
||||
Reference in new issue
Block a user