mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 12:10:28 +00:00
You can find the entire repo here.
This commit is contained in:
31
config/automation/Timed_Triggers/0640.yaml
Executable file
31
config/automation/Timed_Triggers/0640.yaml
Executable file
@@ -0,0 +1,31 @@
|
||||
######################################################################
|
||||
## Stuff that needs to happen at 06:30am.
|
||||
######################################################################
|
||||
|
||||
- alias: 'Timed 640.'
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '06:40: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
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.kitchen_accents
|
Reference in New Issue
Block a user