Esphome 2026.4.0 display waveshare issue

Compiling last update I have an error in my project with waveshare 7 inch display touch:

In file included from src/esphome/components/lvgl/lvgl_esphome.cpp:5:
src/esphome/components/lvgl/lvgl_esphome.h: In function 'void esphome::lvgl::lv_image_set_src(lv_obj_t*, esphome::image::Image*)':
src/esphome/components/lvgl/lvgl_esphome.h:81:113: error: cannot convert 'lv_image_dsc_t*' to 'esphome::image::Image*'
   81 | inline void lv_image_set_src(lv_obj_t *obj, image::Image *image) { lv_image_set_src(obj, image->get_lv_image_dsc()); }
      |                                                                                          ~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                                                                                                 |
      |                                                                                                                 lv_image_dsc_t*
src/esphome/components/lvgl/lvgl_esphome.h:81:59: note:   initializing argument 2 of 'void esphome::lvgl::lv_image_set_src(lv_obj_t*, esphome::image::Image*)'
   81 | inline void lv_image_set_src(lv_obj_t *obj, image::Image *image) { lv_image_set_src(obj, image->get_lv_image_dsc()); }
      |                                             ~~~~~~~~~~~~~~^~~~~
Compiling .pioenvs/waveshare7/src/esphome/components/mipi_rgb/mipi_rgb.cpp.o
*** [.pioenvs/waveshare7/src/esphome/components/lvgl/lvgl_esphome.cpp.o] Error 1

There were breaking changes to LVGL in 2026.4.0 that are outlined in the changelog for that version. You might want to check that. Without your YAML, I’ll offer the same generic advice I offer for any ESPHome major version upgrade. Try cleaning the .esphome and .platformio folders (the former is in with your YAML most likely, the latter tends to be at the root of the user directory) and try again. Sometimes there are some cached things in there that aren’t happy after an upgrade, and a fresh download can help.

There is a fix for that in dev, will be in the next point release, out shortly.

Perfect, thanks