mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[lvgl] Make line points templatable (#8502)
This commit is contained in:
		| @@ -614,6 +614,8 @@ lvgl: | ||||
|             align: center | ||||
|             points: | ||||
|               - 5, 5 | ||||
|               - x: !lambda return random_uint32() % 100; | ||||
|                 y: !lambda return random_uint32() % 100; | ||||
|               - 70, 70 | ||||
|               - 120, 10 | ||||
|               - 180, 60 | ||||
| @@ -622,6 +624,14 @@ lvgl: | ||||
|               - lvgl.line.update: | ||||
|                   id: lv_line_id | ||||
|                   line_color: 0xFFFF | ||||
|                   points: | ||||
|                     - 5, 5 | ||||
|                     - x: !lambda return random_uint32() % 100; | ||||
|                       y: !lambda return random_uint32() % 100; | ||||
|                     - 70, 70 | ||||
|                     - 120, 10 | ||||
|                     - 180, 60 | ||||
|                     - 240, 10 | ||||
|               - lvgl.page.next: | ||||
|         - switch: | ||||
|             align: right_mid | ||||
|   | ||||
		Reference in New Issue
	
	Block a user