ccostan 2018-08-23 18:56:23 -04:00
parent 8c0592a63e
commit d8987bc9ec
2 changed files with 4 additions and 3 deletions

View File

@ -27,6 +27,7 @@
action: action:
- wait_template: >- - wait_template: >-
{{ is_state('group.garage_doors', 'open') }} {{ is_state('group.garage_doors', 'open') }}
- delay: 00:03:00
- service: light.turn_off - service: light.turn_off
entity_id: entity_id:
- group.all_lights - group.all_lights

View File

@ -12,6 +12,7 @@
entity_id: entity_id:
- binary_sensor.sleepnumber_carlo_stacey_is_in_bed - binary_sensor.sleepnumber_carlo_stacey_is_in_bed
to: 'off' to: 'off'
for: '00:05:00'
condition: condition:
- condition: state - condition: state
@ -21,8 +22,8 @@
entity_id: input_boolean.school_mode entity_id: input_boolean.school_mode
state: 'on' state: 'on'
- condition: time - condition: time
after: '06:00:00' after: '05:30:00'
before: '10:00:00' before: '08:00:00'
- condition: time - condition: time
weekday: weekday:
- mon - mon
@ -32,7 +33,6 @@
- fri - fri
action: action:
- delay: 00:20:00
- service: light.turn_on - service: light.turn_on
entity_id: entity_id:
- light.s1 - light.s1