mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Merge remote-tracking branch 'upstream/dev' into zwave_proxy
This commit is contained in:
		| @@ -4,41 +4,31 @@ from esphome.yaml_util import parse_yaml | ||||
|  | ||||
| CONFIG = """ | ||||
| - obj: | ||||
|     radius: 0 | ||||
|     id: hello_world_card_ | ||||
|     pad_all: 12 | ||||
|     bg_color: 0xFFFFFF | ||||
|     bg_color: white | ||||
|     height: 100% | ||||
|     width: 100% | ||||
|     scrollable: false | ||||
|     widgets: | ||||
|     - obj: | ||||
|         align: top_mid | ||||
|         outline_width: 0 | ||||
|         border_width: 0 | ||||
|         pad_all: 4 | ||||
|         scrollable: false | ||||
|         height: size_content | ||||
|         width: 100% | ||||
|         layout: | ||||
|             type: flex | ||||
|             flex_flow: row | ||||
|             flex_align_cross: center | ||||
|             flex_align_track: start | ||||
|             flex_align_main: space_between | ||||
|         widgets: | ||||
|     - spinner: | ||||
|         id: hello_world_spinner_ | ||||
|         align: center | ||||
|         indicator: | ||||
|           arc_color: tomato | ||||
|         height: 100 | ||||
|         width: 100 | ||||
|         spin_time: 2s | ||||
|         arc_length: 60deg | ||||
|     - label: | ||||
|         id: hello_world_label_ | ||||
|         text: "Hello World!" | ||||
|         align: center | ||||
|         on_click: | ||||
|             lvgl.spinner.update: | ||||
|               id: hello_world_spinner_ | ||||
|               arc_color: springgreen | ||||
|     - checkbox: | ||||
|         pad_all: 8 | ||||
|         text: Checkbox | ||||
|         align: top_right | ||||
|         on_click: | ||||
|           lvgl.label.update: | ||||
|             id: hello_world_label_ | ||||
|             text: "Checked!" | ||||
|         - button: | ||||
|         pad_all: 8 | ||||
|             checkable: true | ||||
|         align: top_left | ||||
|             radius: 4 | ||||
|             text_font: montserrat_20 | ||||
|             on_click: | ||||
|               lvgl.label.update: | ||||
| @@ -47,6 +37,79 @@ CONFIG = """ | ||||
|             widgets: | ||||
|               - label: | ||||
|                   text: "Button" | ||||
|         - label: | ||||
|             id: hello_world_title_ | ||||
|             text: ESPHome | ||||
|             text_font: montserrat_20 | ||||
|             width: 100% | ||||
|             text_align: center | ||||
|             on_boot: | ||||
|                 lvgl.widget.refresh: hello_world_title_ | ||||
|             hidden: !lambda |- | ||||
|                 return lv_obj_get_width(lv_scr_act()) < 400; | ||||
|         - checkbox: | ||||
|             text: Checkbox | ||||
|             id: hello_world_checkbox_ | ||||
|             on_boot: | ||||
|                 lvgl.widget.refresh: hello_world_checkbox_ | ||||
|             hidden: !lambda |- | ||||
|                 return lv_obj_get_width(lv_scr_act()) < 240; | ||||
|             on_click: | ||||
|               lvgl.label.update: | ||||
|                 id: hello_world_label_ | ||||
|                 text: "Checked!" | ||||
|     - obj: | ||||
|         id: hello_world_container_ | ||||
|         align: center | ||||
|         y: 14 | ||||
|         pad_all: 0 | ||||
|         outline_width: 0 | ||||
|         border_width: 0 | ||||
|         width: 100% | ||||
|         height: size_content | ||||
|         scrollable: false | ||||
|         on_click: | ||||
|             lvgl.spinner.update: | ||||
|               id: hello_world_spinner_ | ||||
|               arc_color: springgreen | ||||
|         layout: | ||||
|             type: flex | ||||
|             flex_flow: row_wrap | ||||
|             flex_align_cross: center | ||||
|             flex_align_track: center | ||||
|             flex_align_main: space_evenly | ||||
|         widgets: | ||||
|             - spinner: | ||||
|                 id: hello_world_spinner_ | ||||
|                 indicator: | ||||
|                   arc_color: tomato | ||||
|                 height: 100 | ||||
|                 width: 100 | ||||
|                 spin_time: 2s | ||||
|                 arc_length: 60deg | ||||
|                 widgets: | ||||
|                     - label: | ||||
|                         id: hello_world_label_ | ||||
|                         text: "Hello World!" | ||||
|                         align: center | ||||
|             - obj: | ||||
|                 id: hello_world_qrcode_ | ||||
|                 outline_width: 0 | ||||
|                 border_width: 0 | ||||
|                 hidden: !lambda |- | ||||
|                     return lv_obj_get_width(lv_scr_act()) < 300 && lv_obj_get_height(lv_scr_act()) < 400; | ||||
|                 widgets: | ||||
|                 - label: | ||||
|                     text_font: montserrat_14 | ||||
|                     text: esphome.io | ||||
|                     align: top_mid | ||||
|                 - qrcode: | ||||
|                     text: "https://esphome.io" | ||||
|                     size: 80 | ||||
|                     align: bottom_mid | ||||
|                     on_boot: | ||||
|                         lvgl.widget.refresh: hello_world_qrcode_ | ||||
|  | ||||
|     - slider: | ||||
|         width: 80% | ||||
|         align: bottom_mid | ||||
|   | ||||
| @@ -12,7 +12,7 @@ platformio==6.1.18  # When updating platformio, also update /docker/Dockerfile | ||||
| esptool==5.0.2 | ||||
| click==8.1.7 | ||||
| esphome-dashboard==20250828.0 | ||||
| aioesphomeapi==39.0.0 | ||||
| aioesphomeapi==39.0.1 | ||||
| zeroconf==0.147.0 | ||||
| puremagic==1.30 | ||||
| ruamel.yaml==0.18.15 # dashboard_import | ||||
|   | ||||
		Reference in New Issue
	
	Block a user