From 260eed5b87956691cef8b61f7336cefdccaa2203 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Mon, 19 Dec 2016 04:41:46 +0000 Subject: [PATCH] More Sunshine type stuff. --- script/front_house_motion.yaml | 4 ---- script/monthly_front_house_scene.yaml | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/script/front_house_motion.yaml b/script/front_house_motion.yaml index fd8e77a2..eb940c55 100755 --- a/script/front_house_motion.yaml +++ b/script/front_house_motion.yaml @@ -20,10 +20,6 @@ front_house_motion: - delay: '00:10:00' - service: light.turn_off entity_id: group.outdoor_front_lights - - - condition: sun - before: 'sunrise' - before_offset: '-03:00:00' - delay: '00:00:10' - service: script.monthly_front_house_scene diff --git a/script/monthly_front_house_scene.yaml b/script/monthly_front_house_scene.yaml index c5452cad..3b7db8a7 100755 --- a/script/monthly_front_house_scene.yaml +++ b/script/monthly_front_house_scene.yaml @@ -8,6 +8,10 @@ monthly_front_house_scene: sequence: + - condition: sun + before: 'sunrise' + before_offset: '-03:00:00' + - service: scene.turn_on data_template: entity_id: "scene.month_front_{{ states('sensor.date').split('-')[1] }}_colors"