mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-20 16:21:58 +00:00
Start building out a Chore Schedule thingee.
This commit is contained in:
parent
1e7f0c6286
commit
d871f60bba
23
automation/Speech/chores.yaml
Executable file
23
automation/Speech/chores.yaml
Executable file
@ -0,0 +1,23 @@
|
||||
######################################################################
|
||||
## Some home facts when we get back home from being away.
|
||||
######################################################################
|
||||
- alias: 'chores'
|
||||
|
||||
trigger:
|
||||
|
||||
- platform: state
|
||||
entity_id: input_boolean.chore_schedule
|
||||
state: 'on'
|
||||
from: 'off'
|
||||
|
||||
action:
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.chore_schedule
|
||||
|
||||
- service: script.Voice_notify
|
||||
data_template:
|
||||
value1: >
|
||||
"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'%}
|
||||
Today is {{now().strftime("%A")}} and {{now().strftime("%A")}} is garbage day. Please be sure to tell the kids to take out the trash.
|
||||
{%endif%}
|
@ -11,7 +11,15 @@
|
||||
to: 'home'
|
||||
for: '00:03:00'
|
||||
|
||||
- platform: state
|
||||
entity_id: input_boolean.home_news
|
||||
state: 'on'
|
||||
from: 'off'
|
||||
|
||||
action:
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.home_news
|
||||
|
||||
- service: script.Voice_notify
|
||||
data_template:
|
||||
value1: >
|
@ -267,8 +267,8 @@ sensor.nest_upstairs:
|
||||
sensor.polly_lastmsg:
|
||||
friendly_name: 'Polly Lastmsg'
|
||||
emulated_hue: False
|
||||
hidden: False
|
||||
|
||||
hidden: True
|
||||
icon: mdi:chemical-weapon
|
||||
|
||||
|
||||
sensor.rachio:
|
||||
|
7
input_boolean/hidden_booleans.yaml
Executable file
7
input_boolean/hidden_booleans.yaml
Executable file
@ -0,0 +1,7 @@
|
||||
home_news:
|
||||
name: Home News
|
||||
initial: off
|
||||
|
||||
chore_schedule:
|
||||
name: Chore Schedule
|
||||
initial: off
|
Loading…
x
Reference in New Issue
Block a user