From c24cf7ac349b2e0b64f82d93292458bb88691ca6 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Fri, 6 Jan 2017 01:45:47 +0000 Subject: [PATCH] No Offsets for me I guess. --- automation/holiday.yaml | 2 +- automation/sunrise_turnon_and_off.yaml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/automation/holiday.yaml b/automation/holiday.yaml index 79cbdda4..eb7e0447 100755 --- a/automation/holiday.yaml +++ b/automation/holiday.yaml @@ -17,7 +17,7 @@ trigger: - platform: sun event: sunrise - offset: '-0{{ (range(1, 3)|random|int) }}:{{ (range(1, 59)|random|int) }}:00' +#offset: '-0{{ (range(1, 3)|random|int) }}:{{ (range(1, 59)|random|int) }}:00' - platform: event event_type: holiday_lights_off diff --git a/automation/sunrise_turnon_and_off.yaml b/automation/sunrise_turnon_and_off.yaml index a1a3a346..0865ed1c 100755 --- a/automation/sunrise_turnon_and_off.yaml +++ b/automation/sunrise_turnon_and_off.yaml @@ -6,7 +6,6 @@ trigger: - platform: sun event: sunset - offset: '00:{{ (range(1, 59)|random|int) }}:00' action: @@ -27,7 +26,7 @@ trigger: - platform: sun event: sunrise - offset: '-0{{ (range(1, 3)|random|int) }}:{{ (range(1, 59)|random|int) }}:00' + # offset: '-0{{ (range(1, 3)|random|int) }}:{{ (range(1, 59)|random|int) }}:00' action: - service: light.turn_off