Checks for open garages at sundown and then turns on front lights bright white when they are open (kids outside)

This commit is contained in:
CCOSTAN
2017-04-09 22:16:30 +00:00
parent dfbc8d3467
commit 9d36d7320e

View File

@@ -6,6 +6,10 @@
- platform: state - platform: state
entity_id: group.garage_doors entity_id: group.garage_doors
state: 'open' state: 'open'
- platform: state
entity_id: sun.sun
state: 'below_horizon'
from: 'above_horizon'
condition: condition:
condition: and condition: and
@@ -13,6 +17,9 @@
- condition: state - condition: state
entity_id: sun.sun entity_id: sun.sun
state: 'below_horizon' state: 'below_horizon'
- condition: state
entity_id: group.garage_doors
state: 'open'
action: action:
- service: scene.turn_on - service: scene.turn_on