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

[lvgl] Revise code generation to allow early widget creation (#7611)

This commit is contained in:
Clyde Stubbs
2024-10-17 13:20:19 +11:00
committed by GitHub
parent f490585f66
commit 8bbe4efded
10 changed files with 155 additions and 132 deletions

View File

@@ -12,12 +12,12 @@ substitutions:
arrow_down: "\U000F004B"
lvgl:
log_level: debug
resume_on_input: true
on_pause:
logger.log: LVGL is Paused
on_resume:
logger.log: LVGL has resumed
log_level: TRACE
bg_color: light_blue
disp_bg_color: color_id
disp_bg_image: cat_image
@@ -125,6 +125,8 @@ lvgl:
on_unload:
- logger.log: page unloaded
- lvgl.widget.focus: mark
- lvgl.widget.redraw: hello_label
- lvgl.widget.redraw:
on_all_events:
logger.log:
format: "Event %s"