mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 10:57:03 +00:00
Changed some names to make it easier (hopefully) for alexa to understand.
This commit is contained in:
@@ -6,18 +6,18 @@
|
|||||||
trigger:
|
trigger:
|
||||||
|
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: input_boolean.chore_schedule
|
entity_id: input_boolean.responsibilities
|
||||||
state: 'on'
|
state: 'on'
|
||||||
from: 'off'
|
from: 'off'
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
entity_id: input_boolean.chore_schedule
|
entity_id: input_boolean.responsibilities
|
||||||
|
|
||||||
- service: script.Voice_notify
|
- service: script.Voice_notify
|
||||||
data_template:
|
data_template:
|
||||||
value1: >
|
value1: >
|
||||||
{%- macro chore_schedule() -%}
|
{%- macro responsibilities() -%}
|
||||||
{%if now().strftime("%a") == 'Wed' or now().strftime("%a") == 'Sun'%}
|
{%if now().strftime("%a") == 'Wed' or now().strftime("%a") == 'Sun'%}
|
||||||
Today is {{now().strftime("%A")}} and {{now().strftime("%A")}} is garbage day.
|
Today is {{now().strftime("%A")}} and {{now().strftime("%A")}} is garbage day.
|
||||||
{%endif%}
|
{%endif%}
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
Today is Paige's day to do the chores.
|
Today is Paige's day to do the chores.
|
||||||
{%endif%}
|
{%endif%}
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
"{{chore_schedule()}}"
|
"{{responsibilities()}}"
|
||||||
|
@@ -12,19 +12,19 @@
|
|||||||
for: '00:03:00'
|
for: '00:03:00'
|
||||||
|
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: input_boolean.home_news
|
entity_id: input_boolean.home_stats
|
||||||
state: 'on'
|
state: 'on'
|
||||||
from: 'off'
|
from: 'off'
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
entity_id: input_boolean.home_news
|
entity_id: input_boolean.home_stats
|
||||||
|
|
||||||
- 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:
|
||||||
{%- macro chore_schedule() -%}
|
{%- macro responsibilities() -%}
|
||||||
{%if now().strftime("%a") == 'Wed' or now().strftime("%a") == 'Sun'%}
|
{%if now().strftime("%a") == 'Wed' or now().strftime("%a") == 'Sun'%}
|
||||||
Today is {{now().strftime("%A")}} and {{now().strftime("%A")}} is garbage day.
|
Today is {{now().strftime("%A")}} and {{now().strftime("%A")}} is garbage day.
|
||||||
{%endif%}
|
{%endif%}
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
Today is Paige's day to do the chores.
|
Today is Paige's day to do the chores.
|
||||||
{%endif%}
|
{%endif%}
|
||||||
{%- endmacro -%}
|
{%- 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')}}
|
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
|
@@ -1,7 +1,7 @@
|
|||||||
home_news:
|
home_stats:
|
||||||
name: Home News
|
name: Home Stats
|
||||||
initial: off
|
initial: off
|
||||||
|
|
||||||
chore_schedule:
|
responsibilities:
|
||||||
name: Chore Schedule
|
name: responsibilities
|
||||||
initial: off
|
initial: off
|
||||||
|
Reference in New Issue
Block a user