mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-12-06 09:06:52 +01:00
nspanel-terminal 0.5.0 (protocol 7, native 93 TFT) is untagged, so it is pinned to its release commit. The home page uses the 16 px page margin on every side, measured on the glyph ink; the clock shrinks to 100 px so it clears the forecast column. The current head of esphome/esphome#19750 does not build with the IPv4 stack off (IPV6_ROAM_SETTLE_MS is defined under USE_WIFI_LEASE_CACHE but used under USE_NETWORK_IPV6), so the PR is pinned to be1f55d until that is fixed.
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
# One forecast row: day, icon, day/night temperature on two lines, all centred vertically.
|
|
# Not clickable, so a tap falls through to the home page.
|
|
obj:
|
|
clickable: false
|
|
width: SIZE_CONTENT
|
|
height: SIZE_CONTENT
|
|
bg_opa: TRANSP
|
|
border_width: 0
|
|
pad_all: 0
|
|
layout:
|
|
type: FLEX
|
|
flex_flow: ROW
|
|
flex_align_cross: CENTER
|
|
pad_column: 8
|
|
widgets:
|
|
- label:
|
|
id: forecast_day_${i}
|
|
text: ""
|
|
text_font: font_s
|
|
text_color: 0xB4B4BA
|
|
width: 26
|
|
text_align: RIGHT
|
|
- label:
|
|
id: forecast_icon_${i}
|
|
text: ""
|
|
text_font: icon_s
|
|
text_color: 0xFFFFFF
|
|
- obj:
|
|
clickable: false
|
|
width: SIZE_CONTENT
|
|
height: SIZE_CONTENT
|
|
bg_opa: TRANSP
|
|
border_width: 0
|
|
pad_all: 0
|
|
layout:
|
|
type: FLEX
|
|
flex_flow: COLUMN
|
|
pad_row: 0
|
|
widgets:
|
|
- label:
|
|
id: forecast_high_${i}
|
|
text: ""
|
|
text_font: font_s
|
|
text_color: 0xFFFFFF
|
|
- label:
|
|
id: forecast_low_${i}
|
|
text: ""
|
|
text_font: font_s
|
|
text_color: 0x8E8E93
|