Remove chore-tracker-ha.yaml configuration file and associated automations for chore tracking.

This commit is contained in:
Joshua King
2026-02-27 22:15:50 -05:00
parent c07d58c98b
commit d42a23dfab
4 changed files with 8 additions and 2024 deletions

5
.gitignore vendored
View File

@@ -30,7 +30,9 @@
# Whitelist specific folders (uncomment as needed)
!automations/
!packages/
!packages/**
!packages/**
!packages/chore-tracker-ha.yaml
!scenes/
!scripts/
!blueprints/
@@ -47,7 +49,6 @@
!esphome/chore-tracker/
!esphome/chore-tracker/**
!esphome/chore-tracker-esphome.yaml
!chore-tracker-ha.yaml
# !packages/
# !themes/
# !node-red/

View File

@@ -100,7 +100,7 @@ time:
id(reset_chloe_chores).execute();
- lvgl.page.show: page_home
fonts:
font:
- file: "gfonts://Nunito:wght@900"
id: font_title
size: 40
@@ -120,8 +120,7 @@ fonts:
# ── Switches — one per chore per kid, synced to HA ───────────────────────────
switch:
# ── Jordyn's chores ──────────────────────────
- platform: template
# ── Jordyn's chores ────────────────────────── - platform: template
name: "Jordyn - Make Bed"
id: jordyn_make_bed
icon: mdi:checkbox-marked-circle
@@ -222,8 +221,7 @@ switch:
data:
entity_id: switch.chore_tracker_jordyn_feed_dog
# ── Declan's chores ──────────────────────────
- platform: template
# ── Declan's chores ────────────────────────── - platform: template
name: "Declan - Make Bed"
id: declan_make_bed
icon: mdi:checkbox-marked-circle
@@ -304,8 +302,7 @@ switch:
data:
entity_id: switch.chore_tracker_declan_take_out_trash
# ── Chloe's chores ──────────────────────────
- platform: template
# ── Chloe's chores ────────────────────────── - platform: template
name: "Chloe - Make Bed"
id: chloe_make_bed
icon: mdi:checkbox-marked-circle
@@ -1757,3 +1754,4 @@ lvgl:
text_font: font_small
text_color: 0x2D3436

File diff suppressed because it is too large Load Diff

View File

@@ -1,258 +0,0 @@
################################################################################
# chore-tracker-ha.yaml (AUTO-GENERATED — edit chores_config.yaml)
# Kids: Jordyn, Declan, Chloe
#
# BIDIRECTIONAL SYNC:
# Screen → HA: Each switch calls homeassistant.service on toggle
# HA → Screen: ESPHome native API handles this automatically
################################################################################
input_button:
jordyn_reset_chores:
name: "Reset Jordyn's Chores"
icon: mdi:restart
declan_reset_chores:
name: "Reset Declan's Chores"
icon: mdi:restart
chloe_reset_chores:
name: "Reset Chloe's Chores"
icon: mdi:restart
reset_all_chores:
name: "Reset All Chores"
icon: mdi:restart-alert
template:
- sensor:
- name: "Jordyn Chores Done Today"
unique_id: jordyn_chores_done_today
icon: mdi:check-circle
state: >
{% 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 }}
- name: "Jordyn All Chores Done"
unique_id: jordyn_all_chores_done
icon: mdi:check-all
state: >
{{ states('sensor.jordyn_chores_done_today') | int == 5 }}
- name: "Declan Chores Done Today"
unique_id: declan_chores_done_today
icon: mdi:check-circle
state: >
{% 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 }}
- name: "Declan All Chores Done"
unique_id: declan_all_chores_done
icon: mdi:check-all
state: >
{{ states('sensor.declan_chores_done_today') | int == 4 }}
- name: "Chloe Chores Done Today"
unique_id: chloe_chores_done_today
icon: mdi:check-circle
state: >
{% 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 }}
- name: "Chloe All Chores Done"
unique_id: chloe_all_chores_done
icon: mdi:check-all
state: >
{{ states('sensor.chloe_chores_done_today') | int == 6 }}
automation:
- id: jordyn_reset_from_ha
alias: "Chore Tracker — Reset Jordyn's chores from HA"
trigger:
- platform: state
entity_id: input_button.jordyn_reset_chores
action:
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_jordyn_make_bed
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_jordyn_brush_teeth
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_jordyn_tidy_room
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_jordyn_homework
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_jordyn_feed_dog
- id: declan_reset_from_ha
alias: "Chore Tracker — Reset Declan's chores from HA"
trigger:
- platform: state
entity_id: input_button.declan_reset_chores
action:
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_declan_make_bed
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_declan_brush_teeth
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_declan_set_table
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_declan_take_out_trash
- id: chloe_reset_from_ha
alias: "Chore Tracker — Reset Chloe's chores from HA"
trigger:
- platform: state
entity_id: input_button.chloe_reset_chores
action:
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_chloe_make_bed
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_chloe_brush_teeth
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_chloe_water_plants
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_chloe_homework
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_chloe_tidy_room
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_chloe_practice_piano
- id: reset_all_from_ha
alias: "Chore Tracker — Reset ALL chores from HA"
trigger:
- platform: state
entity_id: input_button.reset_all_chores
action:
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_jordyn_make_bed
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_jordyn_brush_teeth
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_jordyn_tidy_room
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_jordyn_homework
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_jordyn_feed_dog
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_declan_make_bed
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_declan_brush_teeth
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_declan_set_table
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_declan_take_out_trash
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_chloe_make_bed
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_chloe_brush_teeth
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_chloe_water_plants
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_chloe_homework
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_chloe_tidy_room
- service: switch.turn_off
target:
entity_id: switch.chore_tracker_chloe_practice_piano
- id: jordyn_all_done_notify
alias: "Chore Tracker — Jordyn all done!"
trigger:
- platform: state
entity_id: sensor.jordyn_all_chores_done
to: "True"
action:
- service: notify.notify
data:
title: "🎉 Jordyn finished all chores!"
message: "Jordyn completed all 5 chores today!"
- id: declan_all_done_notify
alias: "Chore Tracker — Declan all done!"
trigger:
- platform: state
entity_id: sensor.declan_all_chores_done
to: "True"
action:
- service: notify.notify
data:
title: "🎉 Declan finished all chores!"
message: "Declan completed all 4 chores today!"
- id: chloe_all_done_notify
alias: "Chore Tracker — Chloe all done!"
trigger:
- platform: state
entity_id: sensor.chloe_all_chores_done
to: "True"
action:
- service: notify.notify
data:
title: "🎉 Chloe finished all chores!"
message: "Chloe completed all 6 chores today!"
- id: chore_reminder_evening
alias: "Chore Tracker — Evening reminder"
trigger:
- platform: time
at: "18:00:00"
action:
- if:
condition: template
value_template: "{{ states('sensor.jordyn_all_chores_done') != 'True' }}"
then:
- service: notify.notify
data:
title: "📋 Jordyn has unfinished chores"
message: >
Jordyn has done
{{ states('sensor.jordyn_chores_done_today') }}/5 chores today.
- if:
condition: template
value_template: "{{ states('sensor.declan_all_chores_done') != 'True' }}"
then:
- service: notify.notify
data:
title: "📋 Declan has unfinished chores"
message: >
Declan has done
{{ states('sensor.declan_chores_done_today') }}/4 chores today.
- if:
condition: template
value_template: "{{ states('sensor.chloe_all_chores_done') != 'True' }}"
then:
- service: notify.notify
data:
title: "📋 Chloe has unfinished chores"
message: >
Chloe has done
{{ states('sensor.chloe_chores_done_today') }}/6 chores today.