mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[lvgl] Implement lvgl.page.is_showing: condition (#8055)
				
					
				
			This commit is contained in:
		| @@ -138,6 +138,11 @@ lvgl: | ||||
|         - logger.log: page loaded | ||||
|         - lvgl.widget.focus: | ||||
|             action: restore | ||||
|         - if: | ||||
|             condition: | ||||
|               lvgl.page.is_showing: page1 | ||||
|             then: | ||||
|               logger.log: "Yes, page1 showing" | ||||
|       on_unload: | ||||
|         - logger.log: page unloaded | ||||
|         - lvgl.widget.focus: mark | ||||
|   | ||||
		Reference in New Issue
	
	Block a user