mirror of
https://github.com/esphome/esphome.git
synced 2025-09-07 13:52:20 +01:00
fix: update logging message to use new_state variable in dynamic_lamp loop
This commit is contained in:
@@ -83,7 +83,7 @@ void DynamicLampComponent::loop() {
|
|||||||
this->status_set_warning();
|
this->status_set_warning();
|
||||||
continue;
|
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);
|
this->available_outputs_[j].output->set_level(new_state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user