No Offsets for me I guess.

pull/76/head
CCOSTAN 9 years ago
parent f5dbe7e8f2
commit c24cf7ac34

@ -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

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.