In my scenario, id(licht_kontrolle).state is true. The button “Licht” is checked.
After switching to another screen e.g. “Licht” and going back to the main screen, Button “Light” is unchecked. The state of licht_kontrolle has not been changed at all.
Updating the binary sensor id(licht_kontrolle) checks the button on the main screen again.
My feeling is, that the state of licht_kontrolle is lost after switching the screen and not reloaded.
binary_sensor:
- platform: template
id: test
name: test
lambda: return id(licht_kontrolle).state;
Open the web UI, reproduce the bug performing screen change, or whatever is needed.
Check the state of the test sensor
If the state doesn’t correlate with the current button state on the screen - it’s a bug in the component rendering. If the binary sensor changed its state but shouldn’t - I don’t know what is happening. Maybe check that you have enough free RAM.
Hello,
you do a geat job. Thanks for this! How can i use only your display component? You are the only Guy who brings the WT32 SC01 PLus in ESPHome and it works perfect. I have also a WT32 SC01 without plus. i can work with this Display with the nativ LVGL who now supportet in ESPHome with extern component. But ESPHome work at the moment not with the display from the Plus Model, because the display driver ST7796UI MCU 8 Bit is not supported
Thanks Man! This is what i need.
I connected 2 sensors on this board and love to work with ESPHome.
Its pretty easy, but the grafik with the display component looks very oldscool. now i can use LVGL on the WT32 SC01 Plus.
Can you share your config please? I have some problems with display dimensions.
My config is working without dispay dimension. but i see only the half display. the touch is working with the right size. when i fill in my config the dimensions. lvgl will crash