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

fix: update output state handling in dump_config to use set_level method

This commit is contained in:
Oliver Kleinecke
2025-02-15 12:17:55 +01:00
parent 9a65c8ec35
commit cda2f9e846

View File

@@ -85,7 +85,7 @@ void DynamicLamp::dump_config() {
for (uint8_t i = 0; i < 16; i++) {
if (this->available_outputs_[i].active) {
ESP_LOGCONFIG(TAG, "Using output with id .. as output number %" PRIu8 "", i);
this->available_outputs_[i].output->write_state(0.256f);
this->available_outputs_[i].output->set_level(0.256f);
}
}
}