mirror of
https://github.com/esphome/esphome.git
synced 2025-07-20 22:09:38 +01:00
fix: correct logging message in remove_lamp function of DynamicLampComponent
This commit is contained in:
@@ -167,7 +167,7 @@ void DynamicLampComponent::remove_lamp(std::string lamp_name) {
|
|||||||
}
|
}
|
||||||
this->active_lamps_[i].active = false;
|
this->active_lamps_[i].active = false;
|
||||||
this->lamp_count_--;
|
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;
|
return;
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
|
Reference in New Issue
Block a user