1
0
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:
Oliver Kleinecke
2025-02-15 16:37:59 +01:00
parent 62a0c5775f
commit a58cea58b2

View File

@@ -83,7 +83,7 @@ void DynamicLampComponent::loop() {
this->status_set_warning(); this->status_set_warning();
continue; 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; this->active_lamps_[i].update_ = false;