mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
[lvgl] Fix templated argument to lvgl.is_idle (#9014)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user