From 3bcba89fba4ab5944c6a4903910bb33816326236 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Sat, 11 Jul 2026 22:55:33 -0700 Subject: [PATCH] feat: build Schedule screen with Home/Away preset selection --- firmware/components/display.yaml | 57 +++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/firmware/components/display.yaml b/firmware/components/display.yaml index cf5d716..57d4e0f 100644 --- a/firmware/components/display.yaml +++ b/firmware/components/display.yaml @@ -195,7 +195,62 @@ lvgl: on_click: switch.toggle: relay_heat2 - id: page_schedule - widgets: [] + widgets: + - obj: + width: 100% + height: 510px + pad_all: 16 + border_width: 0 + outline_width: 0 + scrollable: false + layout: + type: flex + flex_flow: column + flex_align_cross: center + flex_align_track: center + flex_align_main: space_evenly + widgets: + - label: + text: "Preset" + text_font: montserrat_28 + - obj: + width: 100% + height: size_content + border_width: 0 + outline_width: 0 + scrollable: false + layout: + type: flex + flex_flow: row + flex_align_cross: center + flex_align_track: center + flex_align_main: space_evenly + widgets: + - button: + width: 300px + height: 100px + on_click: + climate.control: + id: main_thermostat + preset: home + widgets: + - label: + text: "Home" + text_font: montserrat_28 + - button: + width: 300px + height: 100px + on_click: + climate.control: + id: main_thermostat + preset: away + widgets: + - label: + text: "Away" + text_font: montserrat_28 + - label: + text: "Time-based scheduling runs in Home Assistant, not on this device." + text_font: montserrat_16 top_layer: widgets: - obj: