Refactor chore tracker configuration for improved consistency and clarity

This commit is contained in:
Joshua King
2026-02-28 08:49:25 -05:00
parent eb88e59550
commit c2ad832a82
4 changed files with 209 additions and 158 deletions

View File

@@ -3,8 +3,8 @@
# Kids: Jordyn, Declan, Chloe
#
# BIDIRECTIONAL SYNC:
# Screen HA: Each switch calls homeassistant.service on toggle
# HA Screen: ESPHome native API handles this automatically
# Screen to HA: Each switch calls homeassistant.service on toggle
# HA to Screen: ESPHome native API handles this automatically
################################################################################
input_button:
@@ -65,7 +65,7 @@ template:
automation:
- id: jordyn_reset_from_ha
alias: "Chore Tracker Reset Jordyn's chores from HA"
alias: "Chore Tracker - Reset Jordyn's chores from HA"
trigger:
- platform: state
entity_id: input_button.jordyn_reset_chores
@@ -87,7 +87,7 @@ automation:
entity_id: switch.chore_tracker_jordyn_feed_dog
- id: declan_reset_from_ha
alias: "Chore Tracker Reset Declan's chores from HA"
alias: "Chore Tracker - Reset Declan's chores from HA"
trigger:
- platform: state
entity_id: input_button.declan_reset_chores
@@ -106,7 +106,7 @@ automation:
entity_id: switch.chore_tracker_declan_take_out_trash
- id: chloe_reset_from_ha
alias: "Chore Tracker Reset Chloe's chores from HA"
alias: "Chore Tracker - Reset Chloe's chores from HA"
trigger:
- platform: state
entity_id: input_button.chloe_reset_chores
@@ -131,7 +131,7 @@ automation:
entity_id: switch.chore_tracker_chloe_practice_piano
- id: reset_all_from_ha
alias: "Chore Tracker Reset ALL chores from HA"
alias: "Chore Tracker - Reset ALL chores from HA"
trigger:
- platform: state
entity_id: input_button.reset_all_chores
@@ -183,7 +183,7 @@ automation:
entity_id: switch.chore_tracker_chloe_practice_piano
- id: jordyn_all_done_notify
alias: "Chore Tracker Jordyn all done!"
alias: "Chore Tracker - Jordyn all done!"
trigger:
- platform: state
entity_id: sensor.jordyn_all_chores_done
@@ -191,11 +191,11 @@ automation:
action:
- service: notify.notify
data:
title: "🎉 Jordyn finished all chores!"
title: "Jordyn finished all chores!"
message: "Jordyn completed all 5 chores today!"
- id: declan_all_done_notify
alias: "Chore Tracker Declan all done!"
alias: "Chore Tracker - Declan all done!"
trigger:
- platform: state
entity_id: sensor.declan_all_chores_done
@@ -203,11 +203,11 @@ automation:
action:
- service: notify.notify
data:
title: "🎉 Declan finished all chores!"
title: "Declan finished all chores!"
message: "Declan completed all 4 chores today!"
- id: chloe_all_done_notify
alias: "Chore Tracker Chloe all done!"
alias: "Chore Tracker - Chloe all done!"
trigger:
- platform: state
entity_id: sensor.chloe_all_chores_done
@@ -215,11 +215,11 @@ automation:
action:
- service: notify.notify
data:
title: "🎉 Chloe finished all chores!"
title: "Chloe finished all chores!"
message: "Chloe completed all 6 chores today!"
- id: chore_reminder_evening
alias: "Chore Tracker Evening reminder"
alias: "Chore Tracker - Evening reminder"
trigger:
- platform: time
at: "18:00:00"
@@ -230,7 +230,7 @@ automation:
then:
- service: notify.notify
data:
title: "📋 Jordyn has unfinished chores"
title: "Jordyn has unfinished chores"
message: >
Jordyn has done
{{ states('sensor.jordyn_chores_done_today') }}/5 chores today.
@@ -240,7 +240,7 @@ automation:
then:
- service: notify.notify
data:
title: "📋 Declan has unfinished chores"
title: "Declan has unfinished chores"
message: >
Declan has done
{{ states('sensor.declan_chores_done_today') }}/4 chores today.
@@ -250,7 +250,7 @@ automation:
then:
- service: notify.notify
data:
title: "📋 Chloe has unfinished chores"
title: "Chloe has unfinished chores"
message: >
Chloe has done
{{ states('sensor.chloe_chores_done_today') }}/6 chores today.