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

fix: use float literal for state in dump_config output handling

This commit is contained in:
Oliver Kleinecke
2025-02-15 12:16:31 +01:00
parent 1baa4ae6d3
commit 9a65c8ec35

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.256);
this->available_outputs_[i].output->write_state(0.256f);
}
}
}