Refactor chore tracker for kids' names and chores: Update Emma, Liam, and Zoe to Jordyn, Declan, and Chloe. Adjust YAML configurations, automation, and notifications accordingly.

This commit is contained in:
Joshua King
2026-02-28 09:44:33 -05:00
parent b635c771ec
commit 7af2d0681c
4 changed files with 533 additions and 533 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
################################################################################ ################################################################################
# chore-tracker-dashboard.yaml (AUTO-GENERATED — edit chores_config.yaml) # chore-tracker-dashboard.yaml (AUTO-GENERATED — edit chores_config.yaml)
# Kids: Emma, Liam, Zoe # Kids: Jordyn, Declan, Chloe
################################################################################ ################################################################################
title: "Chore Tracker" title: "Chore Tracker"
@@ -13,26 +13,26 @@ views:
cards: cards:
- type: markdown - type: markdown
content: > content: >
### 󰇹 Emma ### 󰇹 Jordyn
{{ {{
'All done!' if states('sensor.emma_all_chores_done') == 'True' 'All done!' if states('sensor.jordyn_all_chores_done') == 'True'
else states('sensor.emma_chores_done_today') ~ '/5 chores done' else states('sensor.jordyn_chores_done_today') ~ '/5 chores done'
}} }}
- type: markdown - type: markdown
content: > content: >
### 󰲙 Liam ### 󰲙 Declan
{{ {{
'All done!' if states('sensor.liam_all_chores_done') == 'True' 'All done!' if states('sensor.declan_all_chores_done') == 'True'
else states('sensor.liam_chores_done_today') ~ '/4 chores done' else states('sensor.declan_chores_done_today') ~ '/4 chores done'
}} }}
- type: markdown - type: markdown
content: > content: >
### 󱞵 Zoe ### 󱞵 Chloe
{{ {{
'All done!' if states('sensor.zoe_all_chores_done') == 'True' 'All done!' if states('sensor.chloe_all_chores_done') == 'True'
else states('sensor.zoe_chores_done_today') ~ '/6 chores done' else states('sensor.chloe_chores_done_today') ~ '/6 chores done'
}} }}
- type: button - type: button
@@ -44,90 +44,90 @@ views:
target: target:
entity_id: input_button.reset_all_chores entity_id: input_button.reset_all_chores
- type: entities - type: entities
title: "󰇹 Emma's Chores" title: "󰇹 Jordyn's Chores"
entities: entities:
- entity: switch.chore_tracker_emma_make_bed - entity: switch.chore_tracker_jordyn_make_bed
name: "󰋣 Make Bed" name: "󰋣 Make Bed"
- entity: switch.chore_tracker_emma_brush_teeth - entity: switch.chore_tracker_jordyn_brush_teeth
name: "󰦩 Brush Teeth" name: "󰦩 Brush Teeth"
- entity: switch.chore_tracker_emma_tidy_room - entity: switch.chore_tracker_jordyn_tidy_room
name: "󰂨 Tidy Room" name: "󰂨 Tidy Room"
- entity: switch.chore_tracker_emma_homework - entity: switch.chore_tracker_jordyn_homework
name: "󰈙 Homework" name: "󰈙 Homework"
- entity: switch.chore_tracker_emma_feed_dog - entity: switch.chore_tracker_jordyn_feed_dog
name: "󰉥 Feed Dog" name: "󰉥 Feed Dog"
- type: divider - type: divider
- entity: sensor.emma_chores_done_today - entity: sensor.jordyn_chores_done_today
name: "Chores done today" name: "Chores done today"
- entity: sensor.emma_all_chores_done - entity: sensor.jordyn_all_chores_done
name: "All Done?" name: "All Done?"
- type: button - type: button
name: "Reset Emma's Chores" name: "Reset Jordyn's Chores"
tap_action: tap_action:
action: call-service action: call-service
service: input_button.press service: input_button.press
target: target:
entity_id: input_button.emma_reset_chores entity_id: input_button.jordyn_reset_chores
- type: entities - type: entities
title: "󰲙 Liam's Chores" title: "󰲙 Declan's Chores"
entities: entities:
- entity: switch.chore_tracker_liam_make_bed - entity: switch.chore_tracker_declan_make_bed
name: "󰋣 Make Bed" name: "󰋣 Make Bed"
- entity: switch.chore_tracker_liam_brush_teeth - entity: switch.chore_tracker_declan_brush_teeth
name: "󰦩 Brush Teeth" name: "󰦩 Brush Teeth"
- entity: switch.chore_tracker_liam_set_table - entity: switch.chore_tracker_declan_set_table
name: "󰏧 Set Table" name: "󰏧 Set Table"
- entity: switch.chore_tracker_liam_take_out_trash - entity: switch.chore_tracker_declan_take_out_trash
name: "󰖸 Take Out Trash" name: "󰖸 Take Out Trash"
- type: divider - type: divider
- entity: sensor.liam_chores_done_today - entity: sensor.declan_chores_done_today
name: "Chores done today" name: "Chores done today"
- entity: sensor.liam_all_chores_done - entity: sensor.declan_all_chores_done
name: "All Done?" name: "All Done?"
- type: button - type: button
name: "Reset Liam's Chores" name: "Reset Declan's Chores"
tap_action: tap_action:
action: call-service action: call-service
service: input_button.press service: input_button.press
target: target:
entity_id: input_button.liam_reset_chores entity_id: input_button.declan_reset_chores
- type: entities - type: entities
title: "󱞵 Zoe's Chores" title: "󱞵 Chloe's Chores"
entities: entities:
- entity: switch.chore_tracker_zoe_make_bed - entity: switch.chore_tracker_chloe_make_bed
name: "󰋣 Make Bed" name: "󰋣 Make Bed"
- entity: switch.chore_tracker_zoe_brush_teeth - entity: switch.chore_tracker_chloe_brush_teeth
name: "󰦩 Brush Teeth" name: "󰦩 Brush Teeth"
- entity: switch.chore_tracker_zoe_water_plants - entity: switch.chore_tracker_chloe_water_plants
name: "󱬥 Water Plants" name: "󱬥 Water Plants"
- entity: switch.chore_tracker_zoe_homework - entity: switch.chore_tracker_chloe_homework
name: "󰈙 Homework" name: "󰈙 Homework"
- entity: switch.chore_tracker_zoe_tidy_room - entity: switch.chore_tracker_chloe_tidy_room
name: "󰂨 Tidy Room" name: "󰂨 Tidy Room"
- entity: switch.chore_tracker_zoe_practice_piano - entity: switch.chore_tracker_chloe_practice_piano
name: "󰾞 Practice Piano" name: "󰾞 Practice Piano"
- type: divider - type: divider
- entity: sensor.zoe_chores_done_today - entity: sensor.chloe_chores_done_today
name: "Chores done today" name: "Chores done today"
- entity: sensor.zoe_all_chores_done - entity: sensor.chloe_all_chores_done
name: "All Done?" name: "All Done?"
- type: button - type: button
name: "Reset Zoe's Chores" name: "Reset Chloe's Chores"
tap_action: tap_action:
action: call-service action: call-service
service: input_button.press service: input_button.press
target: target:
entity_id: input_button.zoe_reset_chores entity_id: input_button.chloe_reset_chores

View File

@@ -39,8 +39,8 @@ settings:
# color / color_dark: hex colours for that kid's sidebar # color / color_dark: hex colours for that kid's sidebar
# #
kids: kids:
- name: Emma - name: Jordyn
avatar: "\U000F01F9" # mdi:dog avatar: "\U000F01F9" # mdi:cat
color: "4D96FF" color: "4D96FF"
color_dark: "2A6FCC" color_dark: "2A6FCC"
chores: chores:
@@ -55,8 +55,8 @@ kids:
- name: Feed Dog - name: Feed Dog
icon: "\U000F0265" # mdi:paw icon: "\U000F0265" # mdi:paw
- name: Liam - name: Declan
avatar: "\U000F0C99" # mdi:cat avatar: "\U000F0C99" # mdi:dog
color: "C77DFF" color: "C77DFF"
color_dark: "8B42CC" color_dark: "8B42CC"
chores: chores:
@@ -69,7 +69,7 @@ kids:
- name: Take Out Trash - name: Take Out Trash
icon: "\U000F05B8" # mdi:trash-can icon: "\U000F05B8" # mdi:trash-can
- name: Zoe - name: Chloe
avatar: "\U000F17B5" # mdi:teddy-bear avatar: "\U000F17B5" # mdi:teddy-bear
color: "FF6B9D" color: "FF6B9D"
color_dark: "CC3A6F" color_dark: "CC3A6F"

View File

@@ -1,6 +1,6 @@
################################################################################ ################################################################################
# chore-tracker-ha.yaml (AUTO-GENERATED — edit chores_config.yaml) # chore-tracker-ha.yaml (AUTO-GENERATED — edit chores_config.yaml)
# Kids: Emma, Liam, Zoe # Kids: Jordyn, Declan, Chloe
# #
# BIDIRECTIONAL SYNC: # BIDIRECTIONAL SYNC:
# Screen to HA: Each switch calls homeassistant.service on toggle # Screen to HA: Each switch calls homeassistant.service on toggle
@@ -8,14 +8,14 @@
################################################################################ ################################################################################
input_button: input_button:
emma_reset_chores: jordyn_reset_chores:
name: "Reset Emma's Chores" name: "Reset Jordyn's Chores"
icon: mdi:restart icon: mdi:restart
liam_reset_chores: declan_reset_chores:
name: "Reset Liam's Chores" name: "Reset Declan's Chores"
icon: mdi:restart icon: mdi:restart
zoe_reset_chores: chloe_reset_chores:
name: "Reset Zoe's Chores" name: "Reset Chloe's Chores"
icon: mdi:restart icon: mdi:restart
reset_all_chores: reset_all_chores:
name: "Reset All Chores" name: "Reset All Chores"
@@ -23,112 +23,112 @@ input_button:
template: template:
- sensor: - sensor:
- name: "Emma Chores Done Today" - name: "Jordyn Chores Done Today"
unique_id: emma_chores_done_today unique_id: jordyn_chores_done_today
icon: mdi:check-circle icon: mdi:check-circle
state: > state: >
{% set chores = [states('switch.chore_tracker_emma_make_bed'), states('switch.chore_tracker_emma_brush_teeth'), states('switch.chore_tracker_emma_tidy_room'), states('switch.chore_tracker_emma_homework'), states('switch.chore_tracker_emma_feed_dog')] %} {% set chores = [states('switch.chore_tracker_jordyn_make_bed'), states('switch.chore_tracker_jordyn_brush_teeth'), states('switch.chore_tracker_jordyn_tidy_room'), states('switch.chore_tracker_jordyn_homework'), states('switch.chore_tracker_jordyn_feed_dog')] %}
{{ chores | select('equalto', 'on') | list | count }} {{ chores | select('equalto', 'on') | list | count }}
- name: "Emma All Chores Done" - name: "Jordyn All Chores Done"
unique_id: emma_all_chores_done unique_id: jordyn_all_chores_done
icon: mdi:check-all icon: mdi:check-all
state: > state: >
{{ states('sensor.emma_chores_done_today') | int == 5 }} {{ states('sensor.jordyn_chores_done_today') | int == 5 }}
- name: "Liam Chores Done Today" - name: "Declan Chores Done Today"
unique_id: liam_chores_done_today unique_id: declan_chores_done_today
icon: mdi:check-circle icon: mdi:check-circle
state: > state: >
{% set chores = [states('switch.chore_tracker_liam_make_bed'), states('switch.chore_tracker_liam_brush_teeth'), states('switch.chore_tracker_liam_set_table'), states('switch.chore_tracker_liam_take_out_trash')] %} {% set chores = [states('switch.chore_tracker_declan_make_bed'), states('switch.chore_tracker_declan_brush_teeth'), states('switch.chore_tracker_declan_set_table'), states('switch.chore_tracker_declan_take_out_trash')] %}
{{ chores | select('equalto', 'on') | list | count }} {{ chores | select('equalto', 'on') | list | count }}
- name: "Liam All Chores Done" - name: "Declan All Chores Done"
unique_id: liam_all_chores_done unique_id: declan_all_chores_done
icon: mdi:check-all icon: mdi:check-all
state: > state: >
{{ states('sensor.liam_chores_done_today') | int == 4 }} {{ states('sensor.declan_chores_done_today') | int == 4 }}
- name: "Zoe Chores Done Today" - name: "Chloe Chores Done Today"
unique_id: zoe_chores_done_today unique_id: chloe_chores_done_today
icon: mdi:check-circle icon: mdi:check-circle
state: > state: >
{% set chores = [states('switch.chore_tracker_zoe_make_bed'), states('switch.chore_tracker_zoe_brush_teeth'), states('switch.chore_tracker_zoe_water_plants'), states('switch.chore_tracker_zoe_homework'), states('switch.chore_tracker_zoe_tidy_room'), states('switch.chore_tracker_zoe_practice_piano')] %} {% set chores = [states('switch.chore_tracker_chloe_make_bed'), states('switch.chore_tracker_chloe_brush_teeth'), states('switch.chore_tracker_chloe_water_plants'), states('switch.chore_tracker_chloe_homework'), states('switch.chore_tracker_chloe_tidy_room'), states('switch.chore_tracker_chloe_practice_piano')] %}
{{ chores | select('equalto', 'on') | list | count }} {{ chores | select('equalto', 'on') | list | count }}
- name: "Zoe All Chores Done" - name: "Chloe All Chores Done"
unique_id: zoe_all_chores_done unique_id: chloe_all_chores_done
icon: mdi:check-all icon: mdi:check-all
state: > state: >
{{ states('sensor.zoe_chores_done_today') | int == 6 }} {{ states('sensor.chloe_chores_done_today') | int == 6 }}
automation: automation:
- id: emma_reset_from_ha - id: jordyn_reset_from_ha
alias: "Chore Tracker - Reset Emma's chores from HA" alias: "Chore Tracker - Reset Jordyn's chores from HA"
trigger: trigger:
- platform: state - platform: state
entity_id: input_button.emma_reset_chores entity_id: input_button.jordyn_reset_chores
action: action:
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_emma_make_bed entity_id: switch.chore_tracker_jordyn_make_bed
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_emma_brush_teeth entity_id: switch.chore_tracker_jordyn_brush_teeth
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_emma_tidy_room entity_id: switch.chore_tracker_jordyn_tidy_room
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_emma_homework entity_id: switch.chore_tracker_jordyn_homework
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_emma_feed_dog entity_id: switch.chore_tracker_jordyn_feed_dog
- id: liam_reset_from_ha - id: declan_reset_from_ha
alias: "Chore Tracker - Reset Liam's chores from HA" alias: "Chore Tracker - Reset Declan's chores from HA"
trigger: trigger:
- platform: state - platform: state
entity_id: input_button.liam_reset_chores entity_id: input_button.declan_reset_chores
action: action:
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_liam_make_bed entity_id: switch.chore_tracker_declan_make_bed
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_liam_brush_teeth entity_id: switch.chore_tracker_declan_brush_teeth
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_liam_set_table entity_id: switch.chore_tracker_declan_set_table
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_liam_take_out_trash entity_id: switch.chore_tracker_declan_take_out_trash
- id: zoe_reset_from_ha - id: chloe_reset_from_ha
alias: "Chore Tracker - Reset Zoe's chores from HA" alias: "Chore Tracker - Reset Chloe's chores from HA"
trigger: trigger:
- platform: state - platform: state
entity_id: input_button.zoe_reset_chores entity_id: input_button.chloe_reset_chores
action: action:
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_zoe_make_bed entity_id: switch.chore_tracker_chloe_make_bed
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_zoe_brush_teeth entity_id: switch.chore_tracker_chloe_brush_teeth
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_zoe_water_plants entity_id: switch.chore_tracker_chloe_water_plants
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_zoe_homework entity_id: switch.chore_tracker_chloe_homework
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_zoe_tidy_room entity_id: switch.chore_tracker_chloe_tidy_room
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_zoe_practice_piano entity_id: switch.chore_tracker_chloe_practice_piano
- id: reset_all_from_ha - id: reset_all_from_ha
alias: "Chore Tracker - Reset ALL chores from HA" alias: "Chore Tracker - Reset ALL chores from HA"
@@ -138,85 +138,85 @@ automation:
action: action:
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_emma_make_bed entity_id: switch.chore_tracker_jordyn_make_bed
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_emma_brush_teeth entity_id: switch.chore_tracker_jordyn_brush_teeth
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_emma_tidy_room entity_id: switch.chore_tracker_jordyn_tidy_room
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_emma_homework entity_id: switch.chore_tracker_jordyn_homework
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_emma_feed_dog entity_id: switch.chore_tracker_jordyn_feed_dog
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_liam_make_bed entity_id: switch.chore_tracker_declan_make_bed
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_liam_brush_teeth entity_id: switch.chore_tracker_declan_brush_teeth
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_liam_set_table entity_id: switch.chore_tracker_declan_set_table
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_liam_take_out_trash entity_id: switch.chore_tracker_declan_take_out_trash
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_zoe_make_bed entity_id: switch.chore_tracker_chloe_make_bed
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_zoe_brush_teeth entity_id: switch.chore_tracker_chloe_brush_teeth
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_zoe_water_plants entity_id: switch.chore_tracker_chloe_water_plants
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_zoe_homework entity_id: switch.chore_tracker_chloe_homework
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_zoe_tidy_room entity_id: switch.chore_tracker_chloe_tidy_room
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: switch.chore_tracker_zoe_practice_piano entity_id: switch.chore_tracker_chloe_practice_piano
- id: emma_all_done_notify - id: jordyn_all_done_notify
alias: "Chore Tracker - Emma all done!" alias: "Chore Tracker - Jordyn all done!"
trigger: trigger:
- platform: state - platform: state
entity_id: sensor.emma_all_chores_done entity_id: sensor.jordyn_all_chores_done
to: "True" to: "True"
action: action:
- service: notify.notify - service: notify.notify
data: data:
title: "Emma finished all chores!" title: "Jordyn finished all chores!"
message: "Emma completed all 5 chores today!" message: "Jordyn completed all 5 chores today!"
- id: liam_all_done_notify - id: declan_all_done_notify
alias: "Chore Tracker - Liam all done!" alias: "Chore Tracker - Declan all done!"
trigger: trigger:
- platform: state - platform: state
entity_id: sensor.liam_all_chores_done entity_id: sensor.declan_all_chores_done
to: "True" to: "True"
action: action:
- service: notify.notify - service: notify.notify
data: data:
title: "Liam finished all chores!" title: "Declan finished all chores!"
message: "Liam completed all 4 chores today!" message: "Declan completed all 4 chores today!"
- id: zoe_all_done_notify - id: chloe_all_done_notify
alias: "Chore Tracker - Zoe all done!" alias: "Chore Tracker - Chloe all done!"
trigger: trigger:
- platform: state - platform: state
entity_id: sensor.zoe_all_chores_done entity_id: sensor.chloe_all_chores_done
to: "True" to: "True"
action: action:
- service: notify.notify - service: notify.notify
data: data:
title: "Zoe finished all chores!" title: "Chloe finished all chores!"
message: "Zoe completed all 6 chores today!" message: "Chloe completed all 6 chores today!"
- id: chore_reminder_evening - id: chore_reminder_evening
alias: "Chore Tracker - Evening reminder" alias: "Chore Tracker - Evening reminder"
@@ -226,33 +226,33 @@ automation:
action: action:
- if: - if:
condition: template condition: template
value_template: "{{ states('sensor.emma_all_chores_done') != 'True' }}" value_template: "{{ states('sensor.jordyn_all_chores_done') != 'True' }}"
then: then:
- service: notify.notify - service: notify.notify
data: data:
title: "Emma has unfinished chores" title: "Jordyn has unfinished chores"
message: > message: >
Emma has done Jordyn has done
{{ states('sensor.emma_chores_done_today') }}/5 chores today. {{ states('sensor.jordyn_chores_done_today') }}/5 chores today.
- if: - if:
condition: template condition: template
value_template: "{{ states('sensor.liam_all_chores_done') != 'True' }}" value_template: "{{ states('sensor.declan_all_chores_done') != 'True' }}"
then: then:
- service: notify.notify - service: notify.notify
data: data:
title: "Liam has unfinished chores" title: "Declan has unfinished chores"
message: > message: >
Liam has done Declan has done
{{ states('sensor.liam_chores_done_today') }}/4 chores today. {{ states('sensor.declan_chores_done_today') }}/4 chores today.
- if: - if:
condition: template condition: template
value_template: "{{ states('sensor.zoe_all_chores_done') != 'True' }}" value_template: "{{ states('sensor.chloe_all_chores_done') != 'True' }}"
then: then:
- service: notify.notify - service: notify.notify
data: data:
title: "Zoe has unfinished chores" title: "Chloe has unfinished chores"
message: > message: >
Zoe has done Chloe has done
{{ states('sensor.zoe_chores_done_today') }}/6 chores today. {{ states('sensor.chloe_chores_done_today') }}/6 chores today.