From bb2aee5b0d96c1960d2da98708e29cca77ad789a Mon Sep 17 00:00:00 2001 From: void Date: Wed, 19 Mar 2025 19:22:21 +0000 Subject: [PATCH] Update clock.yaml/clock.yaml last known good config before i attempt to add framebuffer back --- clock.yaml/clock.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/clock.yaml/clock.yaml b/clock.yaml/clock.yaml index 885b9f9..a97cca5 100644 --- a/clock.yaml/clock.yaml +++ b/clock.yaml/clock.yaml @@ -1,5 +1,5 @@ esphome: - name: mini-display-tv--yellow + name: mini-display-tv-yellow friendly_name: Mini Display TV - Yellow esp8266: @@ -47,21 +47,21 @@ light: restore_mode: RESTORE_AND_ON font: - - file: "gfonts://Micro 5" + - file: "gfonts://Atkinson Hyperlegible" id: dspfont - size: 110 + size: 75 - - file: "gfonts://Micro 5" + - file: "gfonts://Atkinson Hyperlegible" id: dspfont_small - size: 44 + size: 30 - - file: "gfonts://Micro 5" + - file: "gfonts://Atkinson Hyperlegible" id: dspfont_medium - size: 66 + size: 40 - - file: "gfonts://Micro 5" + - file: "gfonts://Atkinson Hyperlegible" id: dspfont_am_pm - size: 50 + size: 20 color: - id: color_white @@ -107,12 +107,12 @@ display: // Display AM/PM (Using %p to show AM/PM text) it.strftime(230, 42, id(dspfont_am_pm), text_color, TextAlign::BASELINE_RIGHT, "%p", id(esptime).now()); - // Display the date in MM/DD/YYYY format - it.strftime(0, 110, id(dspfont_medium), text_color, TextAlign::BASELINE, "%m/%d/%Y", id(esptime).now()); + // Display the date in abbreviated weekday, MM/DD format (no year) + it.strftime(0, 110, id(dspfont_medium), text_color, TextAlign::BASELINE, "%a %m/%d", id(esptime).now()); // Display "Party mode: ON" or "No fun allowed" if (id(air_purifier_outlet1).state) { it.printf(0, 230, id(dspfont_small), text_color, TextAlign::BASELINE_LEFT, "Party mode: ON"); } else { it.printf(0, 230, id(dspfont_small), text_color, TextAlign::BASELINE_LEFT, "No fun allowed"); - } \ No newline at end of file + }