Scheduling rework
This commit is contained in:
@ -103,90 +103,51 @@ input_text:
|
|||||||
################################################
|
################################################
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
- id: c772b54d-6448-4d74-a0c2-32998f49b17c
|
- id: 82a3bfde-0c51-47cf-be17-aaf4fea47ee6
|
||||||
alias: Kallen Scheduling
|
alias: Scheduler
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '04:01:00'
|
at: '04:00:00'
|
||||||
id: kallen-morning
|
id: morning-scheduling
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '16:00:00'
|
at: '16:00:00'
|
||||||
id: kallen-evening
|
id: evening-scheduling
|
||||||
action:
|
action:
|
||||||
- if:
|
- choose:
|
||||||
- condition: trigger
|
- conditions:
|
||||||
id: kallen-morning
|
- condition: trigger
|
||||||
then:
|
id: morning-scheduling
|
||||||
- service: script.kallen_scheduling_morning
|
sequence:
|
||||||
- if:
|
- service: script.kallen_scheduling_morning
|
||||||
- condition: trigger
|
- delay:
|
||||||
id: kallen-evening
|
seconds: 1
|
||||||
then:
|
- service: script.house_scheduling_morning
|
||||||
- service: script.kallen_scheduling_evening
|
- delay:
|
||||||
|
seconds: 1
|
||||||
- id: 1c9f7e4b-2d5a-4b95-bd80-d9aa2244a6db
|
- service: script.master_bedroom_scheduling_morning
|
||||||
alias: House Scheduling
|
- delay:
|
||||||
trigger:
|
seconds: 1
|
||||||
- platform: time
|
- service: script.emma_bedroom_scheduling_morning
|
||||||
at: '04:01:10'
|
- delay:
|
||||||
id: house-morning
|
seconds: 1
|
||||||
- platform: time
|
- service: script.security_scheduling
|
||||||
at: '16:00:10'
|
- conditions:
|
||||||
id: house-evening
|
- condition: trigger
|
||||||
action:
|
id: evening-scheduling
|
||||||
- if:
|
sequence:
|
||||||
- condition: trigger
|
- service: script.kallen_scheduling_evening
|
||||||
id: house-morning
|
- delay:
|
||||||
then:
|
seconds: 1
|
||||||
- service: script.house_scheduling_morning
|
- service: script.house_scheduling_evening
|
||||||
- service: script.security_scheduling
|
- delay:
|
||||||
- if:
|
seconds: 1
|
||||||
- condition: trigger
|
- service: script.master_bedroom_scheduling_evening
|
||||||
id: house-evening
|
- delay:
|
||||||
then:
|
seconds: 1
|
||||||
- service: script.house_scheduling_evening
|
- service: script.emma_bedroom_scheduling_evening
|
||||||
|
- delay:
|
||||||
- id: 89470712-f94d-4c01-8215-ed15b3bc799a
|
seconds: 1
|
||||||
alias: Master Bedroom Scheduling
|
- service: script.security_scheduling
|
||||||
trigger:
|
|
||||||
- platform: time
|
|
||||||
at: '04:02:00'
|
|
||||||
id: mrbedroom-morning
|
|
||||||
- platform: time
|
|
||||||
at: '16:00:20'
|
|
||||||
id: mrbedroom-evening
|
|
||||||
action:
|
|
||||||
- if:
|
|
||||||
- condition: trigger
|
|
||||||
id: mrbedroom-morning
|
|
||||||
then:
|
|
||||||
- service: script.master_bedroom_scheduling_morning
|
|
||||||
- if:
|
|
||||||
- condition: trigger
|
|
||||||
id: mrbedroom-evening
|
|
||||||
then:
|
|
||||||
- service: script.master_bedroom_scheduling_evening
|
|
||||||
|
|
||||||
- id: a69d3d36-09d6-4ef3-a245-c564c7cb577c
|
|
||||||
alias: Emma Bedroom Scheduling
|
|
||||||
trigger:
|
|
||||||
- platform: time
|
|
||||||
at: '04:02:10'
|
|
||||||
id: emma-morning
|
|
||||||
- platform: time
|
|
||||||
at: '16:00:30'
|
|
||||||
id: emma-evening
|
|
||||||
action:
|
|
||||||
- if:
|
|
||||||
- condition: trigger
|
|
||||||
id: emma-morning
|
|
||||||
then:
|
|
||||||
- service: script.emma_bedroom_scheduling_morning
|
|
||||||
- if:
|
|
||||||
- condition: trigger
|
|
||||||
id: emma-evening
|
|
||||||
then:
|
|
||||||
- service: script.emma_bedroom_scheduling_evening
|
|
||||||
|
|
||||||
- id: 7350300d-94d3-4ea3-97bb-b0673eafd71f
|
- id: 7350300d-94d3-4ea3-97bb-b0673eafd71f
|
||||||
alias: Scheduling Reset
|
alias: Scheduling Reset
|
||||||
|
@ -279,7 +279,7 @@ automation:
|
|||||||
initial_state: true
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '04:00:10'
|
at: '03:55:00'
|
||||||
action:
|
action:
|
||||||
- if:
|
- if:
|
||||||
- condition: template
|
- condition: template
|
||||||
|
@ -23,7 +23,7 @@ automation:
|
|||||||
initial_state: true
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '04:00:00'
|
at: '03:55:00'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.tina_work_schedule_override
|
entity_id: input_boolean.tina_work_schedule_override
|
||||||
|
Reference in New Issue
Block a user