Forgot to rename an alias for an automation I duplicated...

This commit is contained in:
Jeffrey Stone 2020-12-13 22:22:59 -05:00
parent 8496e1f572
commit 058f49c32c
1 changed files with 16 additions and 7 deletions

View File

@ -10,7 +10,7 @@ automation:
# Kitchen lights needed when dark and there is motion # Kitchen lights needed when dark and there is motion
- id: e1cb3d56-0423-11eb-adc1-0242ac120002 - id: e1cb3d56-0423-11eb-adc1-0242ac120002
alias: Living Room Lights Needed alias: Kitchen Lights Needed
initial_state: true initial_state: true
trigger: trigger:
- entity_id: binary_sensor.kitchen_motion_2 - entity_id: binary_sensor.kitchen_motion_2
@ -25,13 +25,22 @@ automation:
- below: 70 - below: 70
condition: numeric_state condition: numeric_state
entity_id: sensor.kitchen_illuminance entity_id: sensor.kitchen_illuminance
- condition: time
after: '05:30:00'
before: '22:30:00'
action: action:
- service: scene.turn_on - choose:
data: - conditions:
entity_id: scene.normal_kitchen_lighting - condition: time
after: 05:30:00
before: '22:30:00'
sequence:
- scene: scene.normal_kitchen_lighting
- conditions:
- condition: time
after: '22:30:00'
before: 05:30:00
sequence:
- scene: scene.diminished_kitchen_lighting
- delay: 00:18:00
- scene: scene.kitchen_lighting_off
# Living lights needed when dark and there is motion # Living lights needed when dark and there is motion
- id: e1c9379a-0423-11eb-adc1-0242ac120002 - id: e1c9379a-0423-11eb-adc1-0242ac120002