Home-AssistantConfig/config/automation/Timed_Triggers/0830.yaml

37 lines
1010 B
YAML
Executable File

######################################################################
## Automation for 08:30 AM Daily Tasks
## https://www.vcloudinfo.com/click-here
## This automation handles actions to be performed at 8:30 AM,
## typically related to the family's morning routine.
######################################################################
- alias: 'Kids left for the day'
id: 7cc9a7d6-8918-4a4a-98e7-a46abc9df4f1
trigger:
- platform: time
at: '08:30:00'
condition:
- condition: state
entity_id: group.family
state: home
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
- condition: state
entity_id: input_boolean.school_mode
state: 'on'
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- wait_template: "{{ is_state('group.garage_doors', 'open') }}"
timeout: '00:45:00'
- delay: 00:03:00
- service: light.turn_off
entity_id: all