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

@@ -99,9 +99,10 @@ SUNSET:
08:00 PM ** Light Brightness helper 35 Brightness ** 08:00 PM ** Light Brightness helper 35 Brightness **
08:00 PM TV time Scene triggered if the TV is on. 08:00 PM TV time Scene triggered if the TV is on.
09:00 PM Turn on [Hue Go](http://amzn.to/2iB36Ii) lights for the kid's rooms and start fading down. 09:00 PM Turn on [Hue Go](http://amzn.to/2iB36Ii) lights for the kid's rooms and start fading down.
09:00 PM Speech Notifications are disabled for the house. (except under ALERT mode) 10:00 PM Speech Notifications are disabled for the house. (except under ALERT mode) and AMP is shut.
02:00 AM ** Late Night Help Deactivated ** 02:00 AM ** Late Night Help Deactivated **
02:31 AM Heal ZWave Network 02:31 AM Heal ZWave Network
02:35 AM Clear out daily TTS cache
``` ```
#Todo List #Todo List

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). ## 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 platform: time
after: '2:31:00' after: '2:31:00'
action: 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. ## Who's day is it anyway? Pretty sure my parent's didn't code to figure this out.
###################################################################### ######################################################################
- alias: 'chores' - alias: 'responsibilities'
trigger: 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: trigger:
- platform: event - platform: event
event_type: good_morning event_type: good_morning
- platform: time - platform: state
after: '06:00:00' entity_id:
- binary_sensor.sleepnumber_carlo_stacey_is_in_bed
state: 'off'
condition: condition:
- condition: state - condition: state
entity_id: group.family entity_id: group.family
state: home state: home
- condition: state - condition: state
entity_id: input_boolean.school_mode entity_id: input_boolean.school_mode
state: 'on' state: 'on'
- condition: time - condition: time
after: '06:00:00'
- condition: time
weekday: weekday:
- mon - mon
- tue - tue
- wed - wed
- thu - thu
- fri - fri
action: action:
- service: light.turn_on - service: light.turn_on
entity_id: entity_id:
- light.s1 - light.s1
- light.s4 - light.s4
data:
brightness: 150
- service: switch.turn_on - service: switch.turn_on
entity_id: switch.kitchen_accents entity_id: switch.kitchen_accents
- delay: 00:01:00 - delay: 00:01:00
- service: switch.turn_on - service: switch.turn_on
entity_id: switch.kitchen_accents 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