mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 19:06:53 +00:00
No Offsets for me I guess.
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: sun
|
- platform: sun
|
||||||
event: sunrise
|
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
|
- platform: event
|
||||||
event_type: holiday_lights_off
|
event_type: holiday_lights_off
|
||||||
|
|
||||||
|
@@ -6,7 +6,6 @@
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: sun
|
- platform: sun
|
||||||
event: sunset
|
event: sunset
|
||||||
offset: '00:{{ (range(1, 59)|random|int) }}:00'
|
|
||||||
|
|
||||||
action:
|
action:
|
||||||
|
|
||||||
@@ -27,7 +26,7 @@
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: sun
|
- platform: sun
|
||||||
event: sunrise
|
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:
|
action:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
|
Reference in New Issue
Block a user