Refactor chore tracker configuration and update chore counts
- Updated chore counts for Jordyn, Declan, and Chloe in the dashboard and configuration files. - Modified chore names and icons for Jordyn, Declan, and Chloe to reflect new tasks. - Adjusted automation scripts to align with the updated chore structure and counts. - Ensured notifications reflect the correct number of completed chores for each child.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -16,7 +16,7 @@ views:
|
||||
### Jordyn
|
||||
{{
|
||||
'All done!' if states('sensor.jordyn_all_chores_done') == 'True'
|
||||
else states('sensor.jordyn_chores_done_today') ~ '/5 chores done'
|
||||
else states('sensor.jordyn_chores_done_today') ~ '/4 chores done'
|
||||
}}
|
||||
|
||||
- type: markdown
|
||||
@@ -24,15 +24,15 @@ views:
|
||||
### Declan
|
||||
{{
|
||||
'All done!' if states('sensor.declan_all_chores_done') == 'True'
|
||||
else states('sensor.declan_chores_done_today') ~ '/4 chores done'
|
||||
else states('sensor.declan_chores_done_today') ~ '/2 chores done'
|
||||
}}
|
||||
|
||||
- type: markdown
|
||||
content: >
|
||||
### Chloe
|
||||
### Chloe
|
||||
{{
|
||||
'All done!' if states('sensor.chloe_all_chores_done') == 'True'
|
||||
else states('sensor.chloe_chores_done_today') ~ '/6 chores done'
|
||||
else states('sensor.chloe_chores_done_today') ~ '/3 chores done'
|
||||
}}
|
||||
|
||||
- type: button
|
||||
@@ -46,20 +46,17 @@ views:
|
||||
- type: entities
|
||||
title: " Jordyn's Chores"
|
||||
entities:
|
||||
- entity: switch.chore_tracker_jordyn_make_bed
|
||||
name: " Make Bed"
|
||||
- entity: switch.chore_tracker_jordyn_put_on_underwear
|
||||
name: " Put on underwear"
|
||||
|
||||
- entity: switch.chore_tracker_jordyn_brush_teeth
|
||||
name: " Brush Teeth"
|
||||
|
||||
- entity: switch.chore_tracker_jordyn_tidy_room
|
||||
name: " Tidy Room"
|
||||
- entity: switch.chore_tracker_jordyn_check_&_fill_water_bowls
|
||||
name: " Check & fill water bowls"
|
||||
|
||||
- entity: switch.chore_tracker_jordyn_homework
|
||||
name: " Homework"
|
||||
|
||||
- entity: switch.chore_tracker_jordyn_feed_dog
|
||||
name: " Feed Dog"
|
||||
- entity: switch.chore_tracker_jordyn_restock_cat_food_cans
|
||||
name: " Restock Cat Food Cans"
|
||||
- type: divider
|
||||
- entity: sensor.jordyn_chores_done_today
|
||||
name: "Chores done today"
|
||||
@@ -75,17 +72,11 @@ views:
|
||||
- type: entities
|
||||
title: " Declan's Chores"
|
||||
entities:
|
||||
- entity: switch.chore_tracker_declan_make_bed
|
||||
name: " Make Bed"
|
||||
- entity: switch.chore_tracker_declan_take_morning_pill
|
||||
name: " Take morning pill"
|
||||
|
||||
- entity: switch.chore_tracker_declan_brush_teeth
|
||||
name: " Brush Teeth"
|
||||
|
||||
- entity: switch.chore_tracker_declan_set_table
|
||||
name: " Set Table"
|
||||
|
||||
- entity: switch.chore_tracker_declan_take_out_trash
|
||||
name: " Take Out Trash"
|
||||
- entity: switch.chore_tracker_declan_scoop_dog_poop
|
||||
name: " Scoop Dog Poop"
|
||||
- type: divider
|
||||
- entity: sensor.declan_chores_done_today
|
||||
name: "Chores done today"
|
||||
@@ -99,25 +90,16 @@ views:
|
||||
target:
|
||||
entity_id: input_button.declan_reset_chores
|
||||
- type: entities
|
||||
title: " Chloe's Chores"
|
||||
title: " Chloe's Chores"
|
||||
entities:
|
||||
- entity: switch.chore_tracker_chloe_make_bed
|
||||
name: " Make Bed"
|
||||
- entity: switch.chore_tracker_chloe_check_&_fill_kitty_feeders
|
||||
name: " Check & fill kitty feeders"
|
||||
|
||||
- entity: switch.chore_tracker_chloe_brush_teeth
|
||||
name: " Brush Teeth"
|
||||
- entity: switch.chore_tracker_chloe_scoop_kitty_litter
|
||||
name: " Scoop Kitty Litter"
|
||||
|
||||
- entity: switch.chore_tracker_chloe_water_plants
|
||||
name: " Water Plants"
|
||||
|
||||
- entity: switch.chore_tracker_chloe_homework
|
||||
name: " Homework"
|
||||
|
||||
- entity: switch.chore_tracker_chloe_tidy_room
|
||||
name: " Tidy Room"
|
||||
|
||||
- entity: switch.chore_tracker_chloe_practice_piano
|
||||
name: " Practice Piano"
|
||||
- entity: switch.chore_tracker_chloe_replace_kitty_litter_bags
|
||||
name: " Replace Kitty Litter Bags"
|
||||
- type: divider
|
||||
- entity: sensor.chloe_chores_done_today
|
||||
name: "Chores done today"
|
||||
|
||||
@@ -44,45 +44,33 @@ kids:
|
||||
color: "4D96FF"
|
||||
color_dark: "2A6FCC"
|
||||
chores:
|
||||
- name: Make Bed
|
||||
- name: Put on underwear
|
||||
icon: "\U000F02E3" # mdi:bed
|
||||
- name: Brush Teeth
|
||||
icon: "\U000F09A9" # mdi:toothbrush
|
||||
- name: Tidy Room
|
||||
icon: "\U000F00A8" # mdi:broom
|
||||
- name: Homework
|
||||
icon: "\U000F0219" # mdi:book-open-variant
|
||||
- name: Feed Dog
|
||||
icon: "\U000F0265" # mdi:paw
|
||||
- name: Check & fill water bowls
|
||||
icon: "\U000F01AB" # mdi:cup-water
|
||||
- name: Restock Cat Food Cans
|
||||
icon: "\U000F171C" # mdi:food-turkey
|
||||
|
||||
- name: Declan
|
||||
avatar: "\U000F1477" # mdi:wizard-hat
|
||||
color: "C77DFF"
|
||||
color_dark: "8B42CC"
|
||||
chores:
|
||||
- name: Make Bed
|
||||
icon: "\U000F02E3" # mdi:bed
|
||||
- name: Brush Teeth
|
||||
icon: "\U000F09A9" # mdi:toothbrush
|
||||
- name: Set Table
|
||||
icon: "\U000F03E7" # mdi:silverware-fork-knife
|
||||
- name: Take Out Trash
|
||||
icon: "\U000F05B8" # mdi:trash-can
|
||||
- name: Take morning pill
|
||||
icon: "\U000F0402" # mdi:pill
|
||||
- name: Scoop Dog Poop
|
||||
icon: "\U000F01F7" # mdi:emoticon-poop
|
||||
|
||||
- name: Chloe
|
||||
avatar: "\U000F16A0" # mdi:robot-confused-outline
|
||||
avatar: "\U000F16A3" # mdi:robot-excited
|
||||
color: "FF6B9D"
|
||||
color_dark: "CC3A6F"
|
||||
chores:
|
||||
- name: Make Bed
|
||||
icon: "\U000F02E3" # mdi:bed
|
||||
- name: Brush Teeth
|
||||
icon: "\U000F09A9" # mdi:toothbrush
|
||||
- name: Water Plants
|
||||
icon: "\U000F1B25" # mdi:watering-can
|
||||
- name: Homework
|
||||
icon: "\U000F0219" # mdi:book-open-variant
|
||||
- name: Tidy Room
|
||||
icon: "\U000F00A8" # mdi:broom
|
||||
- name: Practice Piano
|
||||
icon: "\U000F0F9E" # mdi:piano
|
||||
- name: Check & fill kitty feeders
|
||||
icon: "\U000F02A9" # mdi:bowl-outline
|
||||
- name: Scoop Kitty Litter
|
||||
icon: "\U000F01F7" # mdi:emoticon-poop
|
||||
- name: Replace Kitty Litter Bags
|
||||
icon: "\U000F01F7" # mdi:emoticon-poop
|
||||
@@ -27,40 +27,40 @@ template:
|
||||
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')] %}
|
||||
{% set chores = [states('switch.chore_tracker_jordyn_put_on_underwear'), states('switch.chore_tracker_jordyn_brush_teeth'), states('switch.chore_tracker_jordyn_check_&_fill_water_bowls'), states('switch.chore_tracker_jordyn_restock_cat_food_cans')] %}
|
||||
{{ 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 }}
|
||||
{{ states('sensor.jordyn_chores_done_today') | int == 4 }}
|
||||
|
||||
- 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')] %}
|
||||
{% set chores = [states('switch.chore_tracker_declan_take_morning_pill'), states('switch.chore_tracker_declan_scoop_dog_poop')] %}
|
||||
{{ 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 }}
|
||||
{{ states('sensor.declan_chores_done_today') | int == 2 }}
|
||||
|
||||
- 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')] %}
|
||||
{% set chores = [states('switch.chore_tracker_chloe_check_&_fill_kitty_feeders'), states('switch.chore_tracker_chloe_scoop_kitty_litter'), states('switch.chore_tracker_chloe_replace_kitty_litter_bags')] %}
|
||||
{{ 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 }}
|
||||
{{ states('sensor.chloe_chores_done_today') | int == 3 }}
|
||||
|
||||
|
||||
automation:
|
||||
@@ -72,19 +72,16 @@ automation:
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.chore_tracker_jordyn_make_bed
|
||||
entity_id: switch.chore_tracker_jordyn_put_on_underwear
|
||||
- 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
|
||||
entity_id: switch.chore_tracker_jordyn_check_&_fill_water_bowls
|
||||
- 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
|
||||
entity_id: switch.chore_tracker_jordyn_restock_cat_food_cans
|
||||
|
||||
- id: declan_reset_from_ha
|
||||
alias: "Chore Tracker - Reset Declan's chores from HA"
|
||||
@@ -94,16 +91,10 @@ automation:
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.chore_tracker_declan_make_bed
|
||||
entity_id: switch.chore_tracker_declan_take_morning_pill
|
||||
- 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
|
||||
entity_id: switch.chore_tracker_declan_scoop_dog_poop
|
||||
|
||||
- id: chloe_reset_from_ha
|
||||
alias: "Chore Tracker - Reset Chloe's chores from HA"
|
||||
@@ -113,22 +104,13 @@ automation:
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.chore_tracker_chloe_make_bed
|
||||
entity_id: switch.chore_tracker_chloe_check_&_fill_kitty_feeders
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.chore_tracker_chloe_brush_teeth
|
||||
entity_id: switch.chore_tracker_chloe_scoop_kitty_litter
|
||||
- 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
|
||||
entity_id: switch.chore_tracker_chloe_replace_kitty_litter_bags
|
||||
|
||||
- id: reset_all_from_ha
|
||||
alias: "Chore Tracker - Reset ALL chores from HA"
|
||||
@@ -138,49 +120,31 @@ automation:
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.chore_tracker_jordyn_make_bed
|
||||
entity_id: switch.chore_tracker_jordyn_put_on_underwear
|
||||
- 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
|
||||
entity_id: switch.chore_tracker_jordyn_check_&_fill_water_bowls
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.chore_tracker_jordyn_homework
|
||||
entity_id: switch.chore_tracker_jordyn_restock_cat_food_cans
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.chore_tracker_jordyn_feed_dog
|
||||
entity_id: switch.chore_tracker_declan_take_morning_pill
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.chore_tracker_declan_make_bed
|
||||
entity_id: switch.chore_tracker_declan_scoop_dog_poop
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.chore_tracker_declan_brush_teeth
|
||||
entity_id: switch.chore_tracker_chloe_check_&_fill_kitty_feeders
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.chore_tracker_declan_set_table
|
||||
entity_id: switch.chore_tracker_chloe_scoop_kitty_litter
|
||||
- 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
|
||||
entity_id: switch.chore_tracker_chloe_replace_kitty_litter_bags
|
||||
|
||||
- id: jordyn_all_done_notify
|
||||
alias: "Chore Tracker - Jordyn all done!"
|
||||
@@ -192,7 +156,7 @@ automation:
|
||||
- service: notify.notify
|
||||
data:
|
||||
title: "Jordyn finished all chores!"
|
||||
message: "Jordyn completed all 5 chores today!"
|
||||
message: "Jordyn completed all 4 chores today!"
|
||||
|
||||
- id: declan_all_done_notify
|
||||
alias: "Chore Tracker - Declan all done!"
|
||||
@@ -204,7 +168,7 @@ automation:
|
||||
- service: notify.notify
|
||||
data:
|
||||
title: "Declan finished all chores!"
|
||||
message: "Declan completed all 4 chores today!"
|
||||
message: "Declan completed all 2 chores today!"
|
||||
|
||||
- id: chloe_all_done_notify
|
||||
alias: "Chore Tracker - Chloe all done!"
|
||||
@@ -216,7 +180,7 @@ automation:
|
||||
- service: notify.notify
|
||||
data:
|
||||
title: "Chloe finished all chores!"
|
||||
message: "Chloe completed all 6 chores today!"
|
||||
message: "Chloe completed all 3 chores today!"
|
||||
|
||||
- id: chore_reminder_evening
|
||||
alias: "Chore Tracker - Evening reminder"
|
||||
@@ -233,7 +197,7 @@ automation:
|
||||
title: "Jordyn has unfinished chores"
|
||||
message: >
|
||||
Jordyn has done
|
||||
{{ states('sensor.jordyn_chores_done_today') }}/5 chores today.
|
||||
{{ states('sensor.jordyn_chores_done_today') }}/4 chores today.
|
||||
- if:
|
||||
condition: template
|
||||
value_template: "{{ states('sensor.declan_all_chores_done') != 'True' }}"
|
||||
@@ -243,7 +207,7 @@ automation:
|
||||
title: "Declan has unfinished chores"
|
||||
message: >
|
||||
Declan has done
|
||||
{{ states('sensor.declan_chores_done_today') }}/4 chores today.
|
||||
{{ states('sensor.declan_chores_done_today') }}/2 chores today.
|
||||
- if:
|
||||
condition: template
|
||||
value_template: "{{ states('sensor.chloe_all_chores_done') != 'True' }}"
|
||||
@@ -253,6 +217,6 @@ automation:
|
||||
title: "Chloe has unfinished chores"
|
||||
message: >
|
||||
Chloe has done
|
||||
{{ states('sensor.chloe_chores_done_today') }}/6 chores today.
|
||||
{{ states('sensor.chloe_chores_done_today') }}/3 chores today.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user