mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
fix: correct logging message in remove_lamp function of DynamicLampComponent
This commit is contained in:
parent
6a7cbbb011
commit
84b4080ee6
@ -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++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user