Fixed this to only work if the sun is actually out.

This commit is contained in:
CCOSTAN
2017-02-20 00:43:36 +00:00
parent cd71193b87
commit 3763de3d93

View File

@@ -53,13 +53,16 @@
entity_id: sensor.dark_sky_precip_intensity
below: 1
condition:
- condition: state
entity_id: sun.sun
state: 'above_horizon'
action:
- service: light.turn_off
entity_id:
- light.couch_1
- light.sink
data:
transition: 1200
- service: script.Voice_notify
data_template:
value1: "The sun is back out. Let's turn down these lights now."