1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

[lvgl] add on_boot trigger (#8498)

This commit is contained in:
Clyde Stubbs
2025-04-09 09:00:39 +10:00
committed by GitHub
parent 2291a1dc39
commit 1c72fd4674
4 changed files with 39 additions and 10 deletions

View File

@@ -24,6 +24,8 @@ lvgl:
logger.log: LVGL is Paused
on_resume:
logger.log: LVGL has resumed
on_boot:
logger.log: LVGL has started
bg_color: light_blue
disp_bg_color: color_id
disp_bg_image: cat_image
@@ -210,6 +212,10 @@ lvgl:
src: !lambda "return {dog_image, cat_image};"
duration: 2s
- label:
on_boot:
lvgl.label.update:
id: hello_label
text: Goodbye Cruel World
id: hello_label
text: Hello world
text_color: 0xFF8000