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

[lvgl] Fix templated argument to lvgl.is_idle (#9014)

This commit is contained in:
Clyde Stubbs
2025-06-10 18:47:08 +10:00
committed by GitHub
parent 94848e4811
commit 1467b704b8
2 changed files with 9 additions and 3 deletions

View File

@@ -170,6 +170,12 @@ lvgl:
lvgl.page.is_showing: page1
then:
logger.log: "Yes, page1 showing"
- if:
condition:
lvgl.is_idle:
timeout: !lambda return 5000;
then:
logger.log: LVGL is idle
on_unload:
- logger.log: page unloaded
- lvgl.widget.focus: mark