mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 13:22:19 +01:00
fix: update output state method in DynamicLampComponent loop for improved clarity
This commit is contained in:
@@ -83,7 +83,7 @@ void DynamicLampComponent::loop() {
|
||||
this->status_set_warning();
|
||||
continue;
|
||||
}
|
||||
this->available_outputs_[j].output->write_state(new_state);
|
||||
this->available_outputs_[j].output->set_level(new_state);
|
||||
}
|
||||
}
|
||||
this->active_lamps_[i].update_ = false;
|
||||
|
Reference in New Issue
Block a user