mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 10:57:03 +00:00
Closes #57
This commit is contained in:
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
|
Reference in New Issue
Block a user