This give me no solution. I get this:
Compiling .pioenvs/test-28-tft/src/main.cpp.o
/config/esphome/test-28-tft.yaml: In lambda function:
/config/esphome/test-28-tft.yaml:193:27: error: 'lv_obj_t' {aka 'struct _lv_obj_t'} has no member named 'update_value'
193 | id(dimmer_svijetlo1).update_value(bri);
| ^~~~~~~~~~~~
In file included from src/esphome/core/component.h:9,
from src/esphome/core/application.h:10,
from src/esphome/components/api/api_frame_helper.h:13,
from src/esphome/components/api/api_connection.h:5,
from src/esphome.h:3,
from src/main.cpp:3:
src/esphome/components/mipi_spi/mipi_spi.h: In instantiation of 'void esphome::mipi_spi::MipiSpi<BUFFERTYPE, BUFFERPIXEL, IS_BIG_ENDIAN, DISPLAYPIXEL, BUS_TYPE, WIDTH, HEIGHT, OFFSET_WIDTH, OFFSET_HEIGHT>::dump_config() [with BUFFERTYPE = short unsigned int; esphome::mipi_spi::PixelMode BUFFERPIXEL = esphome::mipi_spi::PIXEL_MODE_16; bool IS_BIG_ENDIAN = true; esphome::mipi_spi::PixelMode DISPLAYPIXEL = esphome::mipi_spi::PIXEL_MODE_16; esphome::mipi_spi::BusType BUS_TYPE = esphome::mipi_spi::BUS_TYPE_SINGLE; int WIDTH = 320; int HEIGHT = 480; int OFFSET_WIDTH = 0; int OFFSET_HEIGHT = 0]':
src/esphome/components/mipi_spi/mipi_spi.h:203:8: required from here
203 | void dump_config() override {
| ^~~~~~~~~~~
src/esphome/components/mipi_spi/mipi_spi.h:228:67: warning: 'virtual std::string esphome::GPIOPin::dump_summary() const' is deprecated: Override dump_summary(char*, size_t) instead. Will be removed in 2026.7.0. [-Wdeprecated-declarations]
228 | esph_log_config(TAG, " CS Pin: %s", this->cs_->dump_summary().c_str());
| ~~~~~~~~~~~~~~~~~~~~~~~^~
src/esphome/core/log.h:98:101: note: in definition of macro 'esph_log_config'
98 | ::esphome::esp_log_printf_(ESPHOME_LOG_LEVEL_CONFIG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~
In file included from src/esphome/core/hal.h:4,
from src/esphome/core/application.h:12:
src/esphome/core/gpio.h:145:20: note: declared here
145 | inline std::string GPIOPin::dump_summary() const { return {}; }
| ^~~~~~~
src/esphome/components/mipi_spi/mipi_spi.h:228:67: warning: 'virtual std::string esphome::GPIOPin::dump_summary() const' is deprecated: Override dump_summary(char*, size_t) instead. Will be removed in 2026.7.0. [-Wdeprecated-declarations]
228 | esph_log_config(TAG, " CS Pin: %s", this->cs_->dump_summary().c_str());
| ~~~~~~~~~~~~~~~~~~~~~~~^~
src/esphome/core/log.h:98:101: note: in definition of macro 'esph_log_config'
98 | ::esphome::esp_log_printf_(ESPHOME_LOG_LEVEL_CONFIG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~
src/esphome/core/gpio.h:145:20: note: declared here
145 | inline std::string GPIOPin::dump_summary() const { return {}; }
| ^~~~~~~
src/esphome/components/mipi_spi/mipi_spi.h:230:77: warning: 'virtual std::string esphome::GPIOPin::dump_summary() const' is deprecated: Override dump_summary(char*, size_t) instead. Will be removed in 2026.7.0. [-Wdeprecated-declarations]
230 | esph_log_config(TAG, " Reset Pin: %s", this->reset_pin_->dump_summary().c_str());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
src/esphome/core/log.h:98:101: note: in definition of macro 'esph_log_config'
98 | ::esphome::esp_log_printf_(ESPHOME_LOG_LEVEL_CONFIG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~
src/esphome/core/gpio.h:145:20: note: declared here
145 | inline std::string GPIOPin::dump_summary() const { return {}; }
| ^~~~~~~
src/esphome/components/mipi_spi/mipi_spi.h:230:77: warning: 'virtual std::string esphome::GPIOPin::dump_summary() const' is deprecated: Override dump_summary(char*, size_t) instead. Will be removed in 2026.7.0. [-Wdeprecated-declarations]
230 | esph_log_config(TAG, " Reset Pin: %s", this->reset_pin_->dump_summary().c_str());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
src/esphome/core/log.h:98:101: note: in definition of macro 'esph_log_config'
98 | ::esphome::esp_log_printf_(ESPHOME_LOG_LEVEL_CONFIG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~
src/esphome/core/gpio.h:145:20: note: declared here
145 | inline std::string GPIOPin::dump_summary() const { return {}; }
| ^~~~~~~
src/esphome/components/mipi_spi/mipi_spi.h:232:71: warning: 'virtual std::string esphome::GPIOPin::dump_summary() const' is deprecated: Override dump_summary(char*, size_t) instead. Will be removed in 2026.7.0. [-Wdeprecated-declarations]
232 | esph_log_config(TAG, " DC Pin: %s", this->dc_pin_->dump_summary().c_str());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
src/esphome/core/log.h:98:101: note: in definition of macro 'esph_log_config'
98 | ::esphome::esp_log_printf_(ESPHOME_LOG_LEVEL_CONFIG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~
src/esphome/core/gpio.h:145:20: note: declared here
145 | inline std::string GPIOPin::dump_summary() const { return {}; }
| ^~~~~~~
src/esphome/components/mipi_spi/mipi_spi.h:232:71: warning: 'virtual std::string esphome::GPIOPin::dump_summary() const' is deprecated: Override dump_summary(char*, size_t) instead. Will be removed in 2026.7.0. [-Wdeprecated-declarations]
232 | esph_log_config(TAG, " DC Pin: %s", this->dc_pin_->dump_summary().c_str());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
src/esphome/core/log.h:98:101: note: in definition of macro 'esph_log_config'
98 | ::esphome::esp_log_printf_(ESPHOME_LOG_LEVEL_CONFIG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~
src/esphome/core/gpio.h:145:20: note: declared here
145 | inline std::string GPIOPin::dump_summary() const { return {}; }
| ^~~~~~~
*** [.pioenvs/test-28-tft/src/main.cpp.o] Error 1
========================= [FAILED] Took 42.20 seconds =========================