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: