From feb025480d3878de6314c5a051d382a760870b1f Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Fri, 6 Jan 2017 01:13:40 +0000 Subject: [PATCH] Random OFFSETS! EVen Better than Random Delays! --- automation/sunrise_turnon_and_off.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/sunrise_turnon_and_off.yaml b/automation/sunrise_turnon_and_off.yaml index 051de900..a5fbe184 100755 --- a/automation/sunrise_turnon_and_off.yaml +++ b/automation/sunrise_turnon_and_off.yaml @@ -26,7 +26,7 @@ trigger: - platform: sun event: sunrise - offset: '-03:25:00' + offset: '-{{ (range(1, 3)|random|int) }}:{{ (range(1, 59)|random|int) }}:00' action: - service: light.turn_off