diff --git a/automation/Speech/chores.yaml b/automation/Speech/chores.yaml index 8e841036..c8c27943 100755 --- a/automation/Speech/chores.yaml +++ b/automation/Speech/chores.yaml @@ -6,18 +6,18 @@ trigger: - platform: state - entity_id: input_boolean.chore_schedule + entity_id: input_boolean.responsibilities state: 'on' from: 'off' action: - service: input_boolean.turn_off - entity_id: input_boolean.chore_schedule + entity_id: input_boolean.responsibilities - service: script.Voice_notify data_template: value1: > - {%- macro chore_schedule() -%} + {%- macro responsibilities() -%} {%if now().strftime("%a") == 'Wed' or now().strftime("%a") == 'Sun'%} Today is {{now().strftime("%A")}} and {{now().strftime("%A")}} is garbage day. {%endif%} @@ -27,4 +27,4 @@ Today is Paige's day to do the chores. {%endif%} {%- endmacro -%} - "{{chore_schedule()}}" + "{{responsibilities()}}" diff --git a/automation/Speech/home_news.yaml b/automation/Speech/home_stats.yaml similarity index 93% rename from automation/Speech/home_news.yaml rename to automation/Speech/home_stats.yaml index a06f0db2..032514a1 100755 --- a/automation/Speech/home_news.yaml +++ b/automation/Speech/home_stats.yaml @@ -12,19 +12,19 @@ for: '00:03:00' - platform: state - entity_id: input_boolean.home_news + entity_id: input_boolean.home_stats state: 'on' from: 'off' action: - service: input_boolean.turn_off - entity_id: input_boolean.home_news + entity_id: input_boolean.home_stats - service: script.Voice_notify data_template: value1: > "Welcome Home Costanzo Family. Here is what's going on around the house right now: - {%- macro chore_schedule() -%} + {%- macro responsibilities() -%} {%if now().strftime("%a") == 'Wed' or now().strftime("%a") == 'Sun'%} Today is {{now().strftime("%A")}} and {{now().strftime("%A")}} is garbage day. {%endif%} @@ -34,7 +34,7 @@ Today is Paige's day to do the chores. {%endif%} {%- endmacro -%} - {{chore_schedule()}} + {{responsibilities()}} Inside the house, it is {{ states.climate.downstairs.attributes["current_temperature"]}} degrees with around {{states('sensor.downstairs_thermostat_humidity')}} percent humidity. Outside, it is going to be {{states('sensor.dark_sky_minutely_summary')}} {% if is_state('cover.garadget_large', 'open') -%} Also, The Large Garage Door is still open diff --git a/input_boolean/hidden_booleans.yaml b/input_boolean/hidden_booleans.yaml index 83521587..2532f064 100755 --- a/input_boolean/hidden_booleans.yaml +++ b/input_boolean/hidden_booleans.yaml @@ -1,7 +1,7 @@ -home_news: - name: Home News +home_stats: + name: Home Stats initial: off -chore_schedule: - name: Chore Schedule +responsibilities: + name: responsibilities initial: off