nspanel-dev: LVGL UI on nspanel-terminal instead of nspanel_lovelace

The display runs the ptaru/nspanel-terminal TFT and ESPHome draws the UI
with LVGL (component from a local checkout for now, see PR
ptaru/nspanel-terminal#1).

Pages: home (clock, weather, forecast, temperatures), lights, outside,
irrigation, thermostat, gate, status/boot screen; light detail with
brightness, colour temperature or hue on long press. Grid tiles come
from packages in common/nspanel_terminal/ that add themselves to a page.
Unavailable entities are greyed out, OTA progress shows on the status
page, sleep dim and the notify/show_info actions match the other panels.
This commit is contained in:
randy committed 2026-10-30 17:20:44 +01:00
1 parent 0e7dc6591f
commit 53c427e99c
17 files changed
+1789 -426

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
# Look of a 2x3 grid tile (button body): icon top left, name bottom left; merge it into a button with <<:
# checked = on (orange), disabled = entity unavailable (grey), pressed = touch feedback
# vars: id, name, icon (MDI glyph, must be in icon_s)
id: ${id}
width: 130
height: 112
styles: tile_style
pressed:
bg_color: 0x48484A
checked:
bg_color: 0xF5B342
text_color: 0x000000
disabled:
bg_color: 0x161618
text_color: 0x48484A
widgets:
- label:
text: "${icon}"
text_font: icon_s
align: TOP_LEFT
- label:
text: "${name}"
align: BOTTOM_LEFT
long_mode: WRAP
width: 100%