mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Reduce ESP_LOGCONFIG calls (#9026)
This commit is contained in:
@@ -861,8 +861,8 @@ void Pipsolar::switch_command(const std::string &command) {
|
||||
queue_command_(command.c_str(), command.length());
|
||||
}
|
||||
void Pipsolar::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "Pipsolar:");
|
||||
ESP_LOGCONFIG(TAG, "used commands:");
|
||||
ESP_LOGCONFIG(TAG, "Pipsolar:\n"
|
||||
"used commands:");
|
||||
for (auto &used_polling_command : this->used_polling_commands_) {
|
||||
if (used_polling_command.length != 0) {
|
||||
ESP_LOGCONFIG(TAG, "%s", used_polling_command.command);
|
||||
|
||||
Reference in New Issue
Block a user