mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
fix: correct logging message in remove_lamp method to use the correct lamp name
This commit is contained in:
@@ -166,7 +166,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 "", name.c_str(), this->lamp_count_);
|
||||
ESP_LOGV(TAG, "Removed lamp %s, total lamps now %" PRIu8 "", this->active_lamps_[i].name.c_str(), this->lamp_count_);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user