publicpythonsnippets/homeassistant_chores/automation.yaml

936 lines
24 KiB
YAML
Raw Permalink Normal View History

2024-09-17 17:01:09 -05:00
- alias: chore_charley_make_bed
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_make_bed
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_make_bed_completed_today
state: "off"
action:
- action: script.chore_charley_make_bed
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_make_bed_completed_today
mode: single
- alias: chore_henry_make_bed
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_make_bed
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_make_bed_completed_today
state: "off"
action:
- action: script.chore_henry_make_bed
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_make_bed_completed_today
mode: single
- alias: chore_henry_load_dishwasher
trigger:
- platform: state
entity_id: input_boolean.chore_henry_load_dishwasher
to: "on"
condition:
- condition: state
entity_id: input_boolean.chore_henry_load_dishwasher_completed_today
state: "off"
action:
- action: script.chore_henry_load_dishwasher
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_load_dishwasher_completed_today
mode: single
- alias: chore_henry_unload_dishwasher
trigger:
- platform: state
entity_id: input_boolean.chore_henry_unload_dishwasher
to: "on"
condition:
- condition: state
entity_id: input_boolean.chore_henry_unload_dishwasher_completed_today
state: "off"
action:
- action: script.chore_henry_unload_dishwasher
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_unload_dishwasher_completed_today
mode: single
- alias: chore_henry_backpack_ready
trigger:
- platform: state
entity_id: input_boolean.chore_henry_backpack_ready
to: "on"
condition:
- condition: state
entity_id: input_boolean.chore_henry_backpack_ready_completed_today
state: "off"
action:
- action: script.chore_henry_backpack_ready
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_backpack_ready_completed_today
mode: single
- alias: chore_henry_practice_piano
trigger:
- platform: state
entity_id: input_boolean.chore_henry_practice_piano
to: "on"
condition:
- condition: state
entity_id: input_boolean.chore_henry_practice_piano_completed_today
state: "off"
action:
- action: script.chore_henry_practice_piano
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_practice_piano_completed_today
mode: single
- alias: chore_henry_read_15_minutes
trigger:
- platform: state
entity_id: input_boolean.chore_henry_read_15_minutes
to: "on"
condition:
- condition: state
entity_id: input_boolean.chore_henry_read_15_minutes_completed_today
state: "off"
action:
- action: script.chore_henry_read_15_minutes
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_read_15_minutes_completed_today
mode: single
- alias: chore_charley_laundry_clothes_in_hamper
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_laundry_clothes_in_hamper
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_laundry_clothes_in_hamper_completed_today
state: "off"
action:
- action: script.chore_charley_laundry_clothes_in_hamper
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_laundry_clothes_in_hamper_completed_today
mode: single
- alias: chore_henry_laundry_clothes_in_hamper
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_laundry_clothes_in_hamper
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_laundry_clothes_in_hamper_completed_today
state: "off"
action:
- action: script.chore_henry_laundry_clothes_in_hamper
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_laundry_clothes_in_hamper_completed_today
mode: single
- alias: chore_charley_laundry_sort_dirty_clothes
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_laundry_sort_dirty_clothes
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_laundry_sort_dirty_clothes_completed_today
state: "off"
action:
- action: script.chore_charley_laundry_sort_dirty_clothes
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_laundry_sort_dirty_clothes_completed_today
mode: single
- alias: chore_henry_laundry_sort_dirty_clothes
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_laundry_sort_dirty_clothes
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_laundry_sort_dirty_clothes_completed_today
state: "off"
action:
- action: script.chore_henry_laundry_sort_dirty_clothes
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_laundry_sort_dirty_clothes_completed_today
mode: single
- alias: chore_charley_laundry_start_clothes_washer
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_laundry_start_clothes_washer
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_laundry_start_clothes_washer_completed_today
state: "off"
action:
- action: script.chore_charley_laundry_start_clothes_washer
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_laundry_start_clothes_washer_completed_today
mode: single
- alias: chore_henry_laundry_start_clothes_washer
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_laundry_start_clothes_washer
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_laundry_start_clothes_washer_completed_today
state: "off"
action:
- action: script.chore_henry_laundry_start_clothes_washer
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_laundry_start_clothes_washer_completed_today
mode: single
- alias: chore_charley_laundry_put_away_clean_clothes
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_laundry_put_away_clean_clothes
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_laundry_put_away_clean_clothes_completed_today
state: "off"
action:
- action: script.chore_charley_laundry_put_away_clean_clothes
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_laundry_put_away_clean_clothes_completed_today
mode: single
- alias: chore_henry_laundry_put_away_clean_clothes
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_laundry_put_away_clean_clothes
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_laundry_put_away_clean_clothes_completed_today
state: "off"
action:
- action: script.chore_henry_laundry_put_away_clean_clothes
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_laundry_put_away_clean_clothes_completed_today
mode: single
- alias: chore_charley_laundry_fold_socks
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_laundry_fold_socks
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_laundry_fold_socks_completed_today
state: "off"
action:
- action: script.chore_charley_laundry_fold_socks
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_laundry_fold_socks_completed_today
mode: single
- alias: chore_henry_laundry_fold_socks
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_laundry_fold_socks
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_laundry_fold_socks_completed_today
state: "off"
action:
- action: script.chore_henry_laundry_fold_socks
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_laundry_fold_socks_completed_today
mode: single
- alias: chore_charley_sweep_floor
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_sweep_floor
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_sweep_floor_completed_today
state: "off"
action:
- action: script.chore_charley_sweep_floor
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_sweep_floor_completed_today
mode: single
- alias: chore_henry_sweep_floor
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_sweep_floor
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_sweep_floor_completed_today
state: "off"
action:
- action: script.chore_henry_sweep_floor
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_sweep_floor_completed_today
mode: single
- alias: chore_charley_vacuum
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_vacuum
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_vacuum_completed_today
state: "off"
action:
- action: script.chore_charley_vacuum
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_vacuum_completed_today
mode: single
- alias: chore_henry_vacuum
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_vacuum
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_vacuum_completed_today
state: "off"
action:
- action: script.chore_henry_vacuum
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_vacuum_completed_today
mode: single
- alias: chore_charley_wash_windows
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_wash_windows
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_wash_windows_completed_today
state: "off"
action:
- action: script.chore_charley_wash_windows
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_wash_windows_completed_today
mode: single
- alias: chore_henry_wash_windows
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_wash_windows
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_wash_windows_completed_today
state: "off"
action:
- action: script.chore_henry_wash_windows
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_wash_windows_completed_today
mode: single
- alias: chore_charley_gather_garbages
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_gather_garbages
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_gather_garbages_completed_today
state: "off"
action:
- action: script.chore_charley_gather_garbages
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_gather_garbages_completed_today
mode: single
- alias: chore_henry_gather_garbages
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_gather_garbages
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_gather_garbages_completed_today
state: "off"
action:
- action: script.chore_henry_gather_garbages
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_gather_garbages_completed_today
mode: single
- alias: chore_charley_refill_toilet_paper
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_refill_toilet_paper
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_refill_toilet_paper_completed_today
state: "off"
action:
- action: script.chore_charley_refill_toilet_paper
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_refill_toilet_paper_completed_today
mode: single
- alias: chore_henry_refill_toilet_paper
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_refill_toilet_paper
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_refill_toilet_paper_completed_today
state: "off"
action:
- action: script.chore_henry_refill_toilet_paper
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_refill_toilet_paper_completed_today
mode: single
- alias: chore_charley_put_away_groceries
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_put_away_groceries
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_put_away_groceries_completed_today
state: "off"
action:
- action: script.chore_charley_put_away_groceries
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_put_away_groceries_completed_today
mode: single
- alias: chore_henry_put_away_groceries
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_put_away_groceries
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_put_away_groceries_completed_today
state: "off"
action:
- action: script.chore_henry_put_away_groceries
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_put_away_groceries_completed_today
mode: single
- alias: chore_charley_nova_pick_up_poo
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_nova_pick_up_poo
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_nova_pick_up_poo_completed_today
state: "off"
action:
- action: script.chore_charley_nova_pick_up_poo
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_nova_pick_up_poo_completed_today
mode: single
- alias: chore_henry_nova_pick_up_poo
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_nova_pick_up_poo
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_nova_pick_up_poo_completed_today
state: "off"
action:
- action: script.chore_henry_nova_pick_up_poo
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_nova_pick_up_poo_completed_today
mode: single
- alias: chore_charley_nova_food_and_water
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_nova_food_and_water
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_nova_food_and_water_completed_today
state: "off"
action:
- action: script.chore_charley_nova_food_and_water
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_nova_food_and_water_completed_today
mode: single
- alias: chore_henry_nova_food_and_water
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_nova_food_and_water
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_nova_food_and_water_completed_today
state: "off"
action:
- action: script.chore_henry_nova_food_and_water
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_nova_food_and_water_completed_today
mode: single
- alias: chore_charley_nova_pick_up_toys
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_nova_pick_up_toys
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_nova_pick_up_toys_completed_today
state: "off"
action:
- action: script.chore_charley_nova_pick_up_toys
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_nova_pick_up_toys_completed_today
mode: single
- alias: chore_henry_nova_pick_up_toys
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_nova_pick_up_toys
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_nova_pick_up_toys_completed_today
state: "off"
action:
- action: script.chore_henry_nova_pick_up_toys
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_nova_pick_up_toys_completed_today
mode: single
- alias: chore_charley_clean_car_seats
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_clean_car_seats
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_clean_car_seats_completed_today
state: "off"
action:
- action: script.chore_charley_clean_car_seats
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_clean_car_seats_completed_today
mode: single
- alias: chore_henry_clean_car_seats
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_clean_car_seats
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_clean_car_seats_completed_today
state: "off"
action:
- action: script.chore_henry_clean_car_seats
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_clean_car_seats_completed_today
mode: single
- alias: chore_charley_morning_ready_to_go
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_morning_ready_to_go
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_morning_ready_to_go_completed_today
state: "off"
action:
- action: script.chore_charley_morning_ready_to_go
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_morning_ready_to_go_completed_today
mode: single
- alias: chore_henry_morning_ready_to_go
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_morning_ready_to_go
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_morning_ready_to_go_completed_today
state: "off"
action:
- action: script.chore_henry_morning_ready_to_go
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_morning_ready_to_go_completed_today
mode: single
- alias: chore_charley_yard_rake_leaves
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_yard_rake_leaves
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_yard_rake_leaves_completed_today
state: "off"
action:
- action: script.chore_charley_yard_rake_leaves
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_yard_rake_leaves_completed_today
mode: single
- alias: chore_henry_yard_rake_leaves
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_yard_rake_leaves
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_yard_rake_leaves_completed_today
state: "off"
action:
- action: script.chore_henry_yard_rake_leaves
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_yard_rake_leaves_completed_today
mode: single
- alias: chore_charley_yard_pull_weeds
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_yard_pull_weeds
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_yard_pull_weeds_completed_today
state: "off"
action:
- action: script.chore_charley_yard_pull_weeds
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_yard_pull_weeds_completed_today
mode: single
- alias: chore_henry_yard_pull_weeds
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_yard_pull_weeds
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_yard_pull_weeds_completed_today
state: "off"
action:
- action: script.chore_henry_yard_pull_weeds
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_yard_pull_weeds_completed_today
mode: single
- alias: chore_charley_yard_shovel_snow
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_yard_shovel_snow
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_yard_shovel_snow_completed_today
state: "off"
action:
- action: script.chore_charley_yard_shovel_snow
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_yard_shovel_snow_completed_today
mode: single
- alias: chore_henry_yard_shovel_snow
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_yard_shovel_snow
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_yard_shovel_snow_completed_today
state: "off"
action:
- action: script.chore_henry_yard_shovel_snow
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_yard_shovel_snow_completed_today
mode: single
- alias: chore_charley_yard_pick_up_sticks
trigger:
- platform: state
entity_id:
- input_boolean.chore_charley_yard_pick_up_sticks
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_charley_yard_pick_up_sticks_completed_today
state: "off"
action:
- action: script.chore_charley_yard_pick_up_sticks
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_charley_yard_pick_up_sticks_completed_today
mode: single
- alias: chore_henry_yard_pick_up_sticks
trigger:
- platform: state
entity_id:
- input_boolean.chore_henry_yard_pick_up_sticks
to: "on"
condition:
- condition: state
entity_id:
- input_boolean.chore_henry_yard_pick_up_sticks_completed_today
state: "off"
action:
- action: script.chore_henry_yard_pick_up_sticks
- action: input_boolean.turn_on
target:
entity_id:
- input_boolean.chore_henry_yard_pick_up_sticks_completed_today
mode: single