Add chore tracker configuration and generator scripts
- Created `chores_config.yaml` for defining kids, chores, and settings. - Implemented `generate.py` to generate ESPHome, Home Assistant, and Lovelace dashboard configurations based on the YAML file. - Added `chore-tracker-ha.yaml` for Home Assistant integration, including sensors and automation for tracking chores and notifications.
This commit is contained in:
70
esphome/chore-tracker/chores_config.yaml
Normal file
70
esphome/chore-tracker/chores_config.yaml
Normal file
@@ -0,0 +1,70 @@
|
||||
################################################################################
|
||||
# chores_config.yaml — YOUR SINGLE SOURCE OF TRUTH
|
||||
#
|
||||
# Edit this file to change kids, chores, and settings.
|
||||
# Then run: python3 generate.py
|
||||
################################################################################
|
||||
|
||||
settings:
|
||||
device_name: chore-tracker
|
||||
friendly_name: "Chore Tracker"
|
||||
wifi_ssid: !secret wifi_iot_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
api_key: !secret api_encryption_key
|
||||
ota_password: !secret ota_password
|
||||
reset_time: "00:00:00"
|
||||
reminder_time: "18:00"
|
||||
notify_service: notify.notify
|
||||
|
||||
# ── KIDS ──────────────────────────────────────────────────────────────────────
|
||||
# Each kid has their own chore list.
|
||||
# name, avatar, color, color_dark, and chores are all required.
|
||||
#
|
||||
kids:
|
||||
- name: Jordyn
|
||||
avatar: "😺"
|
||||
color: "4D96FF"
|
||||
color_dark: "2A6FCC"
|
||||
chores:
|
||||
- name: Make Bed
|
||||
icon: "🛏️"
|
||||
- name: Brush Teeth
|
||||
icon: "🦷"
|
||||
- name: Tidy Room
|
||||
icon: "🧹"
|
||||
- name: Homework
|
||||
icon: "📚"
|
||||
- name: Feed Dog
|
||||
icon: "🐾"
|
||||
|
||||
- name: Declan
|
||||
avatar: "🤓"
|
||||
color: "C77DFF"
|
||||
color_dark: "8B42CC"
|
||||
chores:
|
||||
- name: Make Bed
|
||||
icon: "🛏️"
|
||||
- name: Brush Teeth
|
||||
icon: "🦷"
|
||||
- name: Set Table
|
||||
icon: "🍽️"
|
||||
- name: Take Out Trash
|
||||
icon: "🗑️"
|
||||
|
||||
- name: Chloe
|
||||
avatar: "🌝"
|
||||
color: "FF6B9D"
|
||||
color_dark: "CC3A6F"
|
||||
chores:
|
||||
- name: Make Bed
|
||||
icon: "🛏️"
|
||||
- name: Brush Teeth
|
||||
icon: "🦷"
|
||||
- name: Water Plants
|
||||
icon: "🌱"
|
||||
- name: Homework
|
||||
icon: "📚"
|
||||
- name: Tidy Room
|
||||
icon: "🧹"
|
||||
- name: Practice Piano
|
||||
icon: "🎹"
|
||||
Reference in New Issue
Block a user