mirror of
https://github.com/esphome/esphome.git
synced 2026-10-06 19:06:37 +00:00
[lvgl] Use contextvars to improve lvgl scheduling (#19242)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
e111f1130c
commit
5baad05926
@@ -0,0 +1,35 @@
|
||||
esphome:
|
||||
name: test-multi-instance-theme
|
||||
|
||||
host:
|
||||
mac_address: "62:23:45:AF:B3:DD"
|
||||
|
||||
display:
|
||||
- platform: snapshot
|
||||
id: sdl0
|
||||
dimensions:
|
||||
width: 100
|
||||
height: 100
|
||||
- platform: snapshot
|
||||
id: sdl1
|
||||
dimensions:
|
||||
width: 100
|
||||
height: 100
|
||||
|
||||
lvgl:
|
||||
- id: lvgl_0
|
||||
displays: sdl0
|
||||
widgets:
|
||||
- label:
|
||||
id: label_0
|
||||
text: "First"
|
||||
|
||||
- id: lvgl_1
|
||||
displays: sdl1
|
||||
theme:
|
||||
label:
|
||||
bg_color: 0xFF0000
|
||||
widgets:
|
||||
- label:
|
||||
id: label_1
|
||||
text: "Second"
|
||||
Reference in New Issue
Block a user