mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 19:06:53 +00:00
Closes #57
This commit is contained in:
@@ -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
|
@@ -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:
|
||||
|
38
automation/Timed_Triggers/0650.yaml
Executable file
38
automation/Timed_Triggers/0650.yaml
Executable 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
|
28
automation/Timed_Triggers/0750.yaml
Executable file
28
automation/Timed_Triggers/0750.yaml
Executable 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
|
28
automation/Timed_Triggers/0830.yaml
Executable file
28
automation/Timed_Triggers/0830.yaml
Executable 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
|
12
automation/Timed_Triggers/2200.yaml
Executable file
12
automation/Timed_Triggers/2200.yaml
Executable 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
|
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user