From b7b78c07856565f6e3646627c2b9ff03edab6b97 Mon Sep 17 00:00:00 2001 From: Joshua King Date: Fri, 27 Feb 2026 22:21:50 -0500 Subject: [PATCH] Refactor font configuration in chore-tracker YAML files for consistency --- esphome/chore-tracker-esphome.yaml | 15 ++++++++++----- esphome/chore-tracker/generate.py | 15 ++++++++++----- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/esphome/chore-tracker-esphome.yaml b/esphome/chore-tracker-esphome.yaml index 838f910..4373d6a 100644 --- a/esphome/chore-tracker-esphome.yaml +++ b/esphome/chore-tracker-esphome.yaml @@ -97,21 +97,26 @@ time: - lvgl.page.show: page_home font: - - file: "gfonts://Nunito:wght@900" + - file: "gfonts://Nunito" id: font_title size: 40 - - file: "gfonts://Nunito:wght@800" + weight: 900 + - file: "gfonts://Nunito" id: font_name size: 30 - - file: "gfonts://Nunito:wght@700" + weight: 800 + - file: "gfonts://Nunito" id: font_med size: 22 - - file: "gfonts://Nunito:wght@600" + weight: 700 + - file: "gfonts://Nunito" id: font_small size: 17 - - file: "gfonts://Nunito:wght@600" + weight: 600 + - file: "gfonts://Nunito" id: font_tiny size: 13 + weight: 600 # ── Switches — one per chore per kid, synced to HA ─────────────────────────── switch: diff --git a/esphome/chore-tracker/generate.py b/esphome/chore-tracker/generate.py index e026cd9..e30cf71 100644 --- a/esphome/chore-tracker/generate.py +++ b/esphome/chore-tracker/generate.py @@ -219,21 +219,26 @@ time: - lvgl.page.show: page_home font: - - file: "gfonts://Nunito:wght@900" + - file: "gfonts://Nunito" id: font_title size: 40 - - file: "gfonts://Nunito:wght@800" + weight: 900 + - file: "gfonts://Nunito" id: font_name size: 30 - - file: "gfonts://Nunito:wght@700" + weight: 800 + - file: "gfonts://Nunito" id: font_med size: 22 - - file: "gfonts://Nunito:wght@600" + weight: 700 + - file: "gfonts://Nunito" id: font_small size: 17 - - file: "gfonts://Nunito:wght@600" + weight: 600 + - file: "gfonts://Nunito" id: font_tiny size: 13 + weight: 600 # ── Switches — one per chore per kid, synced to HA ─────────────────────────── switch: