diff --git a/esphome/components/lvgl/light/lvgl_light.h b/esphome/components/lvgl/light/lvgl_light.h index 5a178ad5ee..67372d89dd 100644 --- a/esphome/components/lvgl/light/lvgl_light.h +++ b/esphome/components/lvgl/light/lvgl_light.h @@ -18,7 +18,7 @@ class LVLight : public light::LightOutput { float red, green, blue; state->current_values_as_rgb(&red, &green, &blue, false); auto color = lv_color_make(red * 255, green * 255, blue * 255); - if (this->obj_ != nullptr) { // NOLINT(bugprone-branch-clone) + if (this->obj_ != nullptr) { this->set_value_(color); } else { this->initial_value_ = color;