From 884393688fef050256fadedf57b812d2c49876ec Mon Sep 17 00:00:00 2001 From: ESPHome Device Builder Date: Thu, 30 Jul 2026 21:25:26 +1200 Subject: [PATCH] Edit esp-reterminal-e1001.yaml --- esphome/esp-reterminal-e1001.yaml | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/esphome/esp-reterminal-e1001.yaml b/esphome/esp-reterminal-e1001.yaml index eaf4d6b..9f61ae9 100644 --- a/esphome/esp-reterminal-e1001.yaml +++ b/esphome/esp-reterminal-e1001.yaml @@ -6,8 +6,8 @@ # https://home.fox.co.nz/gitea/zorruno/zorruno-homeassistant/src/branch/master/esphome/esp-reterminal-e1001.yaml #:########################################################################################:# # VERSIONS: -# V0.9.0 2026-07-30 Nine-job 3x3 grid layout with laundry Once jobs; elapsed -# Complete display text; dryer and washing-machine icons. +# V0.9.1 2026-07-30 Redesigned job tiles: big icon in left quarter, title and +# status text left-aligned in right three-quarters. # V0.8.0 2026-07-30 Removed the Appliances page and page-selection state; both white # buttons now show and check the single seven-job Jobs page. # V0.7.0 2026-07-30 4+3 job layout with plant watering jobs; smaller 190 px tiles @@ -747,39 +747,38 @@ display: const Color foreground = inverse ? COLOR_OFF : COLOR_ON; const Color background = inverse ? COLOR_ON : COLOR_OFF; - // Main job icon, centred near the top of the tile. - draw_job_icon(icon_type, x + ((w - 50) / 2), y + 6, foreground, background); + // Big job icon in the left quarter of the tile. + draw_job_icon(icon_type, x + 6, y + 41, foreground, background); - // Small state icon in the upper-right corner. - draw_state_icon(state, x + w - 42, y + 10, foreground, background); + // Two-line job title and status, left-aligned in the right 3/4. + const int text_x = x + 71; - // Two-line job title and one large status line. it.printf( - x + (w / 2), - y + 72, + text_x, + y + 40, id(font_job_title), foreground, - TextAlign::CENTER, + TextAlign::CENTER_LEFT, "%s", title_line_1 ); it.printf( - x + (w / 2), - y + 100, + text_x, + y + 70, id(font_job_title), foreground, - TextAlign::CENTER, + TextAlign::CENTER_LEFT, "%s", title_line_2 ); it.printf( - x + (w / 2), - y + 150, + text_x, + y + 100, id(font_job_status), foreground, - TextAlign::CENTER, + TextAlign::CENTER_LEFT, "%s", status.c_str() );