This commit is contained in:
CCOSTAN
2017-02-19 07:01:45 +00:00
parent f3b18d41a9
commit fb4372b5d0
8 changed files with 129 additions and 45 deletions

View File

@@ -1,5 +1,5 @@
###################################
## ZWave Healing Section -
## Self Healing Section -
## Home Assistant runs on my [Raspberry Pi 3](http://amzn.to/2e3DOBY) with [Aeon Labs Z Wave Stick (GEN 5)](http://amzn.to/2eAiAP0).
###################################
@@ -9,4 +9,12 @@
platform: time
after: '2:31:00'
action:
service: zwave.heal_network
service: zwave.heal_network
- alias: Flush TTS Cache
hide_entity: True
trigger:
platform: time
after: '2:35:00'
action:
service: tts.clear_cache

View File

@@ -1,7 +1,7 @@
######################################################################
## Who's day is it anyway? Pretty sure my parent's didn't code to figure this out.
######################################################################
- alias: 'chores'
- alias: 'responsibilities'
trigger:

View File

@@ -0,0 +1,38 @@
######################################################################
## Stuff that needs to happen at 08:30am.
######################################################################
- alias: 'Kids 650.'
trigger:
- platform: time
after: '06:50:00'
condition:
- condition: state
entity_id: group.family
state: home
- condition: state
entity_id: input_boolean.school_mode
state: 'on'
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: light.turn_on
entity_id:
- light.d1
- light.d2
- group.kitchen_lights
- service: light.turn_off
entity_id:
- group.dining_room_lights
data:
transition: 600
- service: switch.turn_off
entity_id: switch.kitchen_accents
- delay: 01:00:00

View File

@@ -0,0 +1,28 @@
######################################################################
## Stuff that needs to happen at 08:30am.
######################################################################
- alias: 'Kids 0750am.'
trigger:
- platform: time
after: '07:50:00'
condition:
- condition: state
entity_id: group.family
state: home
- condition: state
entity_id: input_boolean.school_mode
state: 'on'
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: light.turn_on
entity_id:
- group.kitchen_lights

View File

@@ -0,0 +1,28 @@
######################################################################
## Stuff that needs to happen at 08:30am.
######################################################################
- alias: 'Kids left for the day.'
trigger:
- platform: time
after: '08:30:00'
condition:
- condition: state
entity_id: group.family
state: home
- condition: state
entity_id: input_boolean.school_mode
state: 'on'
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: light.turn_off
entity_id:
- group.interior_lights

View File

@@ -0,0 +1,12 @@
######################################################################
## Stuff that needs to happen at 10pm.
######################################################################
- alias: 'Shut down AMP in Living room'
trigger:
- platform: time
after: '20:00:00'
action:
- service: switch.turn_off
entity_id: switch.living_room_amp

View File

@@ -6,66 +6,35 @@
trigger:
- platform: event
event_type: good_morning
- platform: time
after: '06:00:00'
- platform: state
entity_id:
- binary_sensor.sleepnumber_carlo_stacey_is_in_bed
state: 'off'
condition:
- condition: state
entity_id: group.family
state: home
state: home
- condition: state
entity_id: input_boolean.school_mode
state: 'on'
- condition: time
- condition: time
after: '06:00:00'
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: light.turn_on
entity_id:
entity_id:
- light.s1
- light.s4
data:
brightness: 150
- service: switch.turn_on
entity_id: switch.kitchen_accents
- delay: 00:01:00
- service: switch.turn_on
entity_id: switch.kitchen_accents
- delay: 00:50:00
# 6:50am now.
- service: light.turn_on
entity_id:
- light.d1
- light.d2
- group.kitchen_lights
data:
brightness: 150
- service: light.turn_off
entity_id:
- group.dining_room_lights
data:
transition: 600
- service: switch.turn_off
entity_id: switch.kitchen_accents
- delay: 01:00:00
# 7:50am now.
- service: light.turn_on
entity_id:
- group.kitchen_lights
data:
brightness: 200
- delay: 00:40:00
# 8:30am now.
- service: light.turn_off
entity_id:
- group.interior_lights