mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
fix: comment out lamp names string initialization in dump_config for debugging
This commit is contained in:
parent
56240eab58
commit
d189b207b1
@ -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_[1]);
|
||||||
//this->add_output_to_lamp("First Lamp", &this->available_outputs_[2]);
|
//this->add_output_to_lamp("First Lamp", &this->available_outputs_[2]);
|
||||||
//this->add_output_to_lamp("First Lamp", &this->available_outputs_[3]);
|
//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++) {
|
for (uint8_t i = 0; i < 64; i++) {
|
||||||
if (this->timers_[i].in_use == true) {
|
if (this->timers_[i].in_use == true) {
|
||||||
lamp_names_str = "";
|
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);
|
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());
|
ESP_LOGCONFIG(TAG, "Timer active for lamps %s", lamp_names_str.c_str());
|
||||||
}
|
}
|
||||||
}
|
} */
|
||||||
}
|
}
|
||||||
|
|
||||||
void DynamicLampComponent::set_save_mode(uint8_t save_mode) {
|
void DynamicLampComponent::set_save_mode(uint8_t save_mode) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user