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
entity_id: group.garage_doors
state: 'open'
- platform: state
entity_id: sun.sun
state: 'below_horizon'
from: 'above_horizon'
condition:
condition: and
@@ -13,6 +17,9 @@
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition: state
entity_id: group.garage_doors
state: 'open'
action:
- service: scene.turn_on