mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 04:04:06 +00:00
Updates to random delays. Making them even more random of course! :)
This commit is contained in:
@@ -100,7 +100,7 @@ automation:
|
||||
platform: time
|
||||
at: '23:50:00'
|
||||
action:
|
||||
- delay: '00:{{ (range(1, 9)|random|int) }}:00'
|
||||
- delay: '00:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:00'
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
tweet: >
|
||||
@@ -121,7 +121,7 @@ automation:
|
||||
platform: time
|
||||
at: '04:30:00'
|
||||
action:
|
||||
- delay: '{{ (range(1, 6)|random|int) }}:{{ (range(1, 50)|random|int) }}:00'
|
||||
- delay: '0{{ (range(1, 5)|random|int) }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:00'
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
tweet: >
|
||||
|
Reference in New Issue
Block a user