|
|
|
@ -6,9 +6,10 @@
|
|
|
|
trigger:
|
|
|
|
trigger:
|
|
|
|
- platform: sun
|
|
|
|
- platform: sun
|
|
|
|
event: sunset
|
|
|
|
event: sunset
|
|
|
|
|
|
|
|
offset: '00:{{ (range(1, 59)|random|int) }}:00'
|
|
|
|
|
|
|
|
|
|
|
|
action:
|
|
|
|
action:
|
|
|
|
- delay: '00:{{ (range(1, 59)|random|int) }}:00'
|
|
|
|
|
|
|
|
- service: script.monthly_front_house_scene
|
|
|
|
- service: script.monthly_front_house_scene
|
|
|
|
- service: script.holiday_switches_on
|
|
|
|
- service: script.holiday_switches_on
|
|
|
|
- delay: '00:{{ (range(1, 59)|random|int) }}:00'
|
|
|
|
- delay: '00:{{ (range(1, 59)|random|int) }}:00'
|
|
|
|
@ -26,7 +27,7 @@
|
|
|
|
trigger:
|
|
|
|
trigger:
|
|
|
|
- platform: sun
|
|
|
|
- platform: sun
|
|
|
|
event: sunrise
|
|
|
|
event: sunrise
|
|
|
|
offset: '-{{ (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:
|
|
|
|
action:
|
|
|
|
- service: light.turn_off
|
|
|
|
- service: light.turn_off
|
|
|
|
|