From cd3905cefb946c15003083daf4b6fd127218d78f Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Mon, 19 Dec 2016 04:22:39 +0000 Subject: [PATCH] Some Sunset/sunrise issues. --- .HA_VERSION | 2 +- script/front_house_motion.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.HA_VERSION b/.HA_VERSION index 25261972..a560e4b2 100755 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -0.34.4 \ No newline at end of file +0.35.2 \ No newline at end of file diff --git a/script/front_house_motion.yaml b/script/front_house_motion.yaml index 8b92bf5b..eb940c55 100755 --- a/script/front_house_motion.yaml +++ b/script/front_house_motion.yaml @@ -12,8 +12,9 @@ front_house_motion: name: "SkyBell HD Doorbell:" message: "Someone is by the door." - - condition: sun - after: 'sunset' + - condition: state + entity_id: sun.sun + state: 'below.horizon' - service: scene.turn_on entity_id: scene.front_full_brightness - delay: '00:10:00'