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

fix: comment out lamp names string initialization in dump_config for debugging

This commit is contained in:
Oliver Kleinecke 2025-02-19 18:49:34 +01:00
parent 56240eab58
commit d189b207b1

View File

@ -104,7 +104,7 @@ void DynamicLampComponent::dump_config() {
//this->add_output_to_lamp("First Lamp", &this->available_outputs_[1]);
//this->add_output_to_lamp("First Lamp", &this->available_outputs_[2]);
//this->add_output_to_lamp("First Lamp", &this->available_outputs_[3]);
std::string lamp_names_str;
/* std::string lamp_names_str;
for (uint8_t i = 0; i < 64; i++) {
if (this->timers_[i].in_use == true) {
lamp_names_str = "";
@ -123,7 +123,7 @@ void DynamicLampComponent::dump_config() {
this->timers_[i].wednesday, this->timers_[i].thursday, this->timers_[i].friday, this->timers_[i].saturday, this->timers_[i].sunday);
ESP_LOGCONFIG(TAG, "Timer active for lamps %s", lamp_names_str.c_str());
}
}
} */
}
void DynamicLampComponent::set_save_mode(uint8_t save_mode) {