Skip to content

Commit

Permalink
Great Idea to turn on the lights if the front door is opened. adonno/…
Browse files Browse the repository at this point in the history
  • Loading branch information
mishuka0222 committed Dec 27, 2020
1 parent ffe8c74 commit 85b48b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/automation/late_night_outside_helper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
trigger:
- platform: state
entity_id: group.garage_doors
- platform: state
entity_id: binary_sensor.mcu1_gpio5 #front door
- platform: state
entity_id: sun.sun
to: 'below_horizon'
Expand Down Expand Up @@ -45,8 +47,8 @@
- switch.back_landscaping
- switch.front_door_outlet
- switch.foyer_outlet
- wait_template: >-
{{ states.group.garage_doors.state == 'closed' }}
- wait_template: "{{ is_state('states.group.entry_points.state', 'off') }}"
- wait_template: "{{ is_state( 'group.garage_doors', 'closed') }}"
- service: script.monthly_color_scene
- choose:
- conditions: >
Expand Down

0 comments on commit 85b48b0

Please sign in to comment.