mirror of
https://github.com/esphome/esphome.git
synced 2026-10-05 18:41:32 +00:00
Merge remote-tracking branch 'upstream/inline-micros-esp32' into integration
# Conflicts: # esphome/components/api/proto.h # esphome/external_files.py # script/api_protobuf/api_protobuf.py # tests/unit_tests/test_external_files.py
This commit is contained in:
@@ -1113,6 +1113,8 @@ lvgl:
|
||||
pad_row: 6px
|
||||
pad_column: 0
|
||||
multiple_widgets_per_cell: true
|
||||
grid_cell_x_align: center
|
||||
grid_cell_y_align: center
|
||||
widgets:
|
||||
- image:
|
||||
grid_cell_row_pos: 0
|
||||
@@ -1305,6 +1307,87 @@ lvgl:
|
||||
hidden: true
|
||||
mode: text_lower
|
||||
|
||||
# Grid shorthand "<rows>x": 3 rows specified, columns derived
|
||||
# from widget count (4 widgets / 3 rows -> 2 columns)
|
||||
- obj:
|
||||
id: grid_rows_only_shorthand
|
||||
layout: 3x
|
||||
widgets:
|
||||
- label:
|
||||
text: "r1"
|
||||
- label:
|
||||
text: "r2"
|
||||
- label:
|
||||
text: "r3"
|
||||
- label:
|
||||
text: "r4"
|
||||
|
||||
# Grid shorthand "x<cols>": 4 columns specified, rows derived
|
||||
# from widget count (5 widgets / 4 cols -> 2 rows)
|
||||
- obj:
|
||||
id: grid_cols_only_shorthand
|
||||
layout: x4
|
||||
widgets:
|
||||
- label:
|
||||
text: "a"
|
||||
- label:
|
||||
text: "b"
|
||||
- label:
|
||||
text: "c"
|
||||
- label:
|
||||
text: "d"
|
||||
- label:
|
||||
text: "e"
|
||||
|
||||
# Grid dict form with grid_rows as a plain integer; columns derived
|
||||
- obj:
|
||||
id: grid_rows_int
|
||||
layout:
|
||||
type: grid
|
||||
grid_rows: 2
|
||||
widgets:
|
||||
- label:
|
||||
text: "1"
|
||||
- label:
|
||||
text: "2"
|
||||
- label:
|
||||
text: "3"
|
||||
|
||||
# Grid dict form with grid_columns as a plain integer; rows derived
|
||||
- obj:
|
||||
id: grid_cols_int
|
||||
layout:
|
||||
type: grid
|
||||
grid_columns: 3
|
||||
widgets:
|
||||
- label:
|
||||
text: "x"
|
||||
- label:
|
||||
text: "y"
|
||||
- label:
|
||||
text: "z"
|
||||
- label:
|
||||
text: "w"
|
||||
- label:
|
||||
text: "v"
|
||||
|
||||
# Grid dict form with both grid_rows and grid_columns as plain integers
|
||||
- obj:
|
||||
id: grid_both_int
|
||||
layout:
|
||||
type: grid
|
||||
grid_rows: 2
|
||||
grid_columns: 2
|
||||
widgets:
|
||||
- label:
|
||||
text: "1,1"
|
||||
- label:
|
||||
text: "1,2"
|
||||
- label:
|
||||
text: "2,1"
|
||||
- label:
|
||||
text: "2,2"
|
||||
|
||||
font:
|
||||
- file: "gfonts://Roboto"
|
||||
id: space16
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
ethernet:
|
||||
type: W5500
|
||||
clk_pin: 18
|
||||
mosi_pin: 19
|
||||
miso_pin: 16
|
||||
cs_pin: 17
|
||||
interrupt_pin: 21
|
||||
reset_pin: 20
|
||||
manual_ip:
|
||||
static_ip: 192.168.178.56
|
||||
gateway: 192.168.178.1
|
||||
subnet: 255.255.255.0
|
||||
domain: .local
|
||||
mac_address: "02:AA:BB:CC:DD:01"
|
||||
|
||||
mdns:
|
||||
disabled: false
|
||||
services:
|
||||
- service: _test_service
|
||||
protocol: _tcp
|
||||
port: 8888
|
||||
txt:
|
||||
static_string: Anything
|
||||
@@ -0,0 +1 @@
|
||||
<<: !include common-enabled-ethernet.yaml
|
||||
Reference in New Issue
Block a user