mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-19 07:47:27 +00:00
Updated with the Kid's chore schedules.
This commit is contained in:
parent
90a62fb7b6
commit
195ccdb99c
@ -1,5 +1,5 @@
|
|||||||
######################################################################
|
######################################################################
|
||||||
## Some home facts when we get back home from being away.
|
## Who's day is it anyway? Pretty sure my parent's didn't code to figure this out.
|
||||||
######################################################################
|
######################################################################
|
||||||
- alias: 'chores'
|
- alias: 'chores'
|
||||||
|
|
||||||
@ -17,8 +17,14 @@
|
|||||||
- service: script.Voice_notify
|
- service: script.Voice_notify
|
||||||
data_template:
|
data_template:
|
||||||
value1: >
|
value1: >
|
||||||
"{% if now().strftime("%j")|int % 2 == 0 %}
|
{%- macro chore_schedule() -%}
|
||||||
Today is Justin's day to do chores.
|
{%if now().strftime("%a") == 'Wed' or now().strftime("%a") == 'Sun'%}
|
||||||
{% else %}
|
Today is {{now().strftime("%A")}} and {{now().strftime("%A")}} is garbage day.
|
||||||
Today is Paige's day to do chores.
|
{%endif%}
|
||||||
{%endif%}"
|
{% if now().strftime("%j")|int % 2 != 0 %}
|
||||||
|
Today is Justin's day to do the chores.
|
||||||
|
{% else %}
|
||||||
|
Today is Paige's day to do the chores.
|
||||||
|
{%endif%}
|
||||||
|
{%- endmacro -%}
|
||||||
|
"{{chore_schedule()}}"
|
||||||
|
@ -19,14 +19,22 @@
|
|||||||
action:
|
action:
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
entity_id: input_boolean.home_news
|
entity_id: input_boolean.home_news
|
||||||
|
|
||||||
- service: script.Voice_notify
|
- service: script.Voice_notify
|
||||||
data_template:
|
data_template:
|
||||||
value1: >
|
value1: >
|
||||||
"Welcome Home Costanzo Family. Here is what's going on around the house right now:
|
"Welcome Home Costanzo Family. Here is what's going on around the house right now:
|
||||||
{%if now().strftime("%a") == 'Wed' or now().strftime("%a") == 'Sun'%}
|
{%- macro chore_schedule() -%}
|
||||||
Today is {{now().strftime("%A")}} and {{now().strftime("%A")}} is garbage day. Please be sure to tell the kids to take out the trash.
|
{%if now().strftime("%a") == 'Wed' or now().strftime("%a") == 'Sun'%}
|
||||||
{%endif%}
|
Today is {{now().strftime("%A")}} and {{now().strftime("%A")}} is garbage day.
|
||||||
|
{%endif%}
|
||||||
|
{% if now().strftime("%j")|int % 2 != 0 %}
|
||||||
|
Today is Justin's day to do the chores.
|
||||||
|
{% else %}
|
||||||
|
Today is Paige's day to do the chores.
|
||||||
|
{%endif%}
|
||||||
|
{%- endmacro -%}
|
||||||
|
{{chore_schedule()}}
|
||||||
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')}}
|
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') -%}
|
{% if is_state('cover.garadget_large', 'open') -%}
|
||||||
Also, The Large Garage Door is still open
|
Also, The Large Garage Door is still open
|
||||||
|
Loading…
x
Reference in New Issue
Block a user