Clean up a few time conditions in E's sleep automations

This commit is contained in:
2023-04-21 02:38:08 -04:00
parent 6da7f5792e
commit c8b64b11c2

View File

@ -64,6 +64,7 @@ automation:
state: 'off' state: 'off'
- condition: time - condition: time
before: "23:00:00" before: "23:00:00"
after: "04:00:00"
then: then:
- service: input_datetime.set_datetime - service: input_datetime.set_datetime
target: target:
@ -83,8 +84,7 @@ automation:
state: 'off' state: 'off'
- condition: time - condition: time
before: "23:30:00" before: "23:30:00"
- condition: time after: "15:00:00"
after: "14:30:00"
then: then:
- service: input_datetime.set_datetime - service: input_datetime.set_datetime
target: target:
@ -175,6 +175,7 @@ script:
sequence: sequence:
- if: - if:
- condition: time - condition: time
after: '04:00:00'
before: '16:00:00' before: '16:00:00'
then: then:
- service: script.emma_bedroom_scheduling_evening - service: script.emma_bedroom_scheduling_evening
@ -217,6 +218,7 @@ script:
state: 'on' state: 'on'
- condition: time - condition: time
after: "23:00:00" after: "23:00:00"
before: "04:00:00"
sequence: sequence:
- choose: - choose:
- conditions: - conditions:
@ -265,6 +267,7 @@ script:
state: 'off' state: 'off'
- condition: time - condition: time
before: "23:00:00" before: "23:00:00"
after: "04:00:00"
sequence: sequence:
- choose: - choose:
- conditions: - conditions: