Files
esphome-configs/common/nspanel_terminal/nav_tile.yaml
T
randy 53c427e99c 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.
2026-10-30 17:20:44 +01:00

20 lines
581 B
YAML

# Package: tile on a grid page that opens another page, a big icon only (e.g. the robot for automations)
# vars: page, to (page id), icon (MDI glyph, must be in icon_l)
lvgl:
pages:
- id: !extend ${page}
widgets:
- button:
width: 130
height: 112
styles: tile_style
pressed:
bg_color: 0x48484A
on_click:
- lvgl.page.show: ${to}
widgets:
- label:
text: "${icon}"
text_font: icon_l
align: CENTER