1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-10 23:32:23 +01:00

fix: update output logging to use active status and output_id in DynamicLamp

This commit is contained in:
Oliver Kleinecke
2025-02-14 15:56:45 +01:00
parent 43b4fedb78
commit 47252ca067
2 changed files with 3 additions and 3 deletions

View File

@@ -76,8 +76,8 @@ void DynamicLamp::dump_config() {
this->save_mode_ = 0;
}
for (uint8_t i = 0; i < 16; i++) {
if (this->available_outputs_[i] != "") {
ESP_LOGCONFIG(TAG, "Using output with id %s as output number %" PRIu8 "", this->available_outputs_[i].c_str(), i);
if (this->available_outputs_[i].active) {
ESP_LOGCONFIG(TAG, "Using output with id %s as output number %" PRIu8 "", this->available_outputs_[i].output_id, i);
}
}
}