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

fix: update logging message to use new_state variable in dynamic_lamp loop

This commit is contained in:
Oliver Kleinecke
2025-02-15 22:19:05 +01:00
parent c34f1e5559
commit a6cea002bc

View File

@@ -83,7 +83,7 @@ void DynamicLampComponent::loop() {
this->status_set_warning();
continue;
}
ESP_LOGV(TAG, "Setting output %s to level %f", this->available_outputs_[j].output_id.c_str(), state);
ESP_LOGV(TAG, "Setting output %s to level %f", this->available_outputs_[j].output_id.c_str(), new_state);
this->available_outputs_[j].output->set_level(new_state);
}
}