1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 06:38:17 +00:00

fix: correct logging message in remove_lamp function of DynamicLampComponent

This commit is contained in:
Oliver Kleinecke 2025-02-19 22:29:25 +01:00
parent 6a7cbbb011
commit 84b4080ee6

View File

@ -167,7 +167,7 @@ void DynamicLampComponent::remove_lamp(std::string lamp_name) {
}
this->active_lamps_[i].active = false;
this->lamp_count_--;
ESP_LOGV(TAG, "Removed lamp %s, total lamps now %" PRIu8 "", this->active_lamps_[i].name.c_str(), this->lamp_count_);
ESP_LOGV(TAG, "Removed lamp %s, total lamps now %" PRIu8 "", this->active_lamps_[i].name, this->lamp_count_);
return;
}
i++;