[lvgl] Use contextvars to improve lvgl scheduling (#19242)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Clyde Stubbs
2026-09-30 04:54:38 -04:00
committed by GitHub
co-authored by Claude Opus 5.5
parent e111f1130c
commit 5baad05926
36 changed files with 726 additions and 317 deletions
+18
View File
@@ -42,6 +42,13 @@ script:
label:
text: row
esphome:
on_boot:
then:
- lvgl.theme.update:
obj:
border_width: 2
lvgl:
id: lvgl_id
rotation: 90
@@ -1351,6 +1358,17 @@ lvgl:
id: checkbox_id
text: Checkbox
align: bottom_right
- list:
id: list_a
on_add:
- lvgl.list.add:
id: list_b # fires list_b's on_add
label: {text: x}
- list:
id: list_b
on_add:
- logger.log: added
- list:
id: test_list_id
align: top_right