Refactor chore tracker for new kids: Emma, Liam, and Zoe
- Updated dashboard YAML to reflect new kids and their chores. - Modified chores configuration to include new kids with appropriate icons and settings. - Adjusted generation script to handle new MDI glyphs for icons. - Revised Home Assistant integration to support new kids, including input buttons and automation for chores. - Ensured all references to old kids (Jordyn, Declan, Chloe) are replaced with new names and corresponding logic.
This commit is contained in:
@@ -3,12 +3,30 @@
|
||||
#
|
||||
# Edit this file to change kids, chores, and settings.
|
||||
# Then run: python3 generate.py
|
||||
#
|
||||
# ICONS: Use MDI codepoints from https://pictogrammers.com/library/mdi/
|
||||
# Format: "\U000FXXXX" e.g. mdi:bed = "\U000F02E3"
|
||||
# The kid avatar field also uses MDI codepoints.
|
||||
#
|
||||
# Common chore icons:
|
||||
# Bed: "\U000F02E3" mdi:bed
|
||||
# Brush teeth: "\U000F09A9" mdi:toothbrush
|
||||
# Broom: "\U000F00A8" mdi:broom
|
||||
# Book: "\U000F0219" mdi:book-open-variant
|
||||
# Dog: "\U000F01F9" mdi:dog
|
||||
# Paw: "\U000F0265" mdi:paw
|
||||
# Silverware: "\U000F03E7" mdi:silverware-fork-knife
|
||||
# Trash: "\U000F05B8" mdi:trash-can
|
||||
# Watering can: "\U000F1B25" mdi:watering-can
|
||||
# Piano: "\U000F0F9E" mdi:piano
|
||||
# Dumbbell: "\U000F0F1E" mdi:dumbbell
|
||||
# Shower: "\U000F0467" mdi:shower
|
||||
################################################################################
|
||||
|
||||
settings:
|
||||
device_name: chore-tracker
|
||||
friendly_name: "Chore Tracker"
|
||||
wifi_ssid: !secret wifi_iot_ssid
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
api_key: !secret api_encryption_key
|
||||
ota_password: !secret ota_password
|
||||
@@ -17,54 +35,54 @@ settings:
|
||||
notify_service: notify.notify
|
||||
|
||||
# ── KIDS ──────────────────────────────────────────────────────────────────────
|
||||
# Each kid has their own chore list.
|
||||
# name, avatar, color, color_dark, and chores are all required.
|
||||
# avatar: MDI codepoint shown in the sidebar on the kid's chore page
|
||||
# color / color_dark: hex colours for that kid's sidebar
|
||||
#
|
||||
kids:
|
||||
- name: Jordyn
|
||||
avatar: "😺"
|
||||
- name: Emma
|
||||
avatar: "\U000F01F9" # mdi:dog
|
||||
color: "4D96FF"
|
||||
color_dark: "2A6FCC"
|
||||
chores:
|
||||
- name: Make Bed
|
||||
icon: "🛏️"
|
||||
icon: "\U000F02E3" # mdi:bed
|
||||
- name: Brush Teeth
|
||||
icon: "🦷"
|
||||
icon: "\U000F09A9" # mdi:toothbrush
|
||||
- name: Tidy Room
|
||||
icon: "🧹"
|
||||
icon: "\U000F00A8" # mdi:broom
|
||||
- name: Homework
|
||||
icon: "📚"
|
||||
icon: "\U000F0219" # mdi:book-open-variant
|
||||
- name: Feed Dog
|
||||
icon: "🐾"
|
||||
icon: "\U000F0265" # mdi:paw
|
||||
|
||||
- name: Declan
|
||||
avatar: "🤓"
|
||||
- name: Liam
|
||||
avatar: "\U000F0C99" # mdi:cat
|
||||
color: "C77DFF"
|
||||
color_dark: "8B42CC"
|
||||
chores:
|
||||
- name: Make Bed
|
||||
icon: "🛏️"
|
||||
icon: "\U000F02E3" # mdi:bed
|
||||
- name: Brush Teeth
|
||||
icon: "🦷"
|
||||
icon: "\U000F09A9" # mdi:toothbrush
|
||||
- name: Set Table
|
||||
icon: "🍽️"
|
||||
icon: "\U000F03E7" # mdi:silverware-fork-knife
|
||||
- name: Take Out Trash
|
||||
icon: "🗑️"
|
||||
icon: "\U000F05B8" # mdi:trash-can
|
||||
|
||||
- name: Chloe
|
||||
avatar: "🌝"
|
||||
- name: Zoe
|
||||
avatar: "\U000F17B5" # mdi:teddy-bear
|
||||
color: "FF6B9D"
|
||||
color_dark: "CC3A6F"
|
||||
chores:
|
||||
- name: Make Bed
|
||||
icon: "🛏️"
|
||||
icon: "\U000F02E3" # mdi:bed
|
||||
- name: Brush Teeth
|
||||
icon: "🦷"
|
||||
icon: "\U000F09A9" # mdi:toothbrush
|
||||
- name: Water Plants
|
||||
icon: "🌱"
|
||||
icon: "\U000F1B25" # mdi:watering-can
|
||||
- name: Homework
|
||||
icon: "📚"
|
||||
icon: "\U000F0219" # mdi:book-open-variant
|
||||
- name: Tidy Room
|
||||
icon: "🧹"
|
||||
icon: "\U000F00A8" # mdi:broom
|
||||
- name: Practice Piano
|
||||
icon: "🎹"
|
||||
icon: "\U000F0F9E" # mdi:piano
|
||||
Reference in New Issue
Block a user