addeding images to Halloween countdown tweet
This commit is contained in:
parent
1a8330223c
commit
905886274e
|
@ -244,18 +244,26 @@ automation:
|
|||
{%- endif -%}
|
||||
action:
|
||||
- delay: '0{{ (range(1, 5)|random|int) }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:00'
|
||||
- service: script.twitter_notify
|
||||
- service: script.twitter_notify_image
|
||||
data_template:
|
||||
message: >-
|
||||
{{ [ "There are only {{states.sensor.halloween_countdown.state}} days until Halloween.",
|
||||
"Halloween is only {{states.sensor.halloween_countdown.state}} days away. It might not be enough time. ",
|
||||
"Halloween is coming. {{states.sensor.halloween_countdown.state}} days and counting.",
|
||||
"Only {{states.sensor.halloween_countdown.state}} days until Halloween.",
|
||||
"You have {{states.sensor.halloween_countdown.state}} days until you need a costume.",
|
||||
"You have {{states.sensor.halloween_countdown.state}} days until you need a Halloween costume.",
|
||||
"Only {{states.sensor.halloween_countdown.state}} days until Halloween. But who is counting. amirite?",
|
||||
"Would it be cliche if I went as a haunted house for Halloween? Asking for a another house.",
|
||||
"Just in case I wanted to be HAL 9000 for Halloween I ordered some Pod Bay Doors."
|
||||
] | random }}
|
||||
image: >-
|
||||
{{ [ "/config/www/tweet_images/halloween/potion.jpg",
|
||||
"/config/www/tweet_images/halloween/Halloween-house.jpg",
|
||||
"/config/www/tweet_images/halloween/halloween.gif",
|
||||
"/config/www/tweet_images/halloween/halloween.jpg",
|
||||
"/config/www/tweet_images/halloween/halloween2.jpg",
|
||||
"/config/www/tweet_images/halloween/halloween3.jpg",
|
||||
"/config/www/tweet_images/halloween/Halloweenpumpkins.jpg"] | random }}
|
||||
|
||||
- id: Christmas Countdown Tweet
|
||||
alias: Christmas Countdown Tweet
|
||||
|
|
Loading…
Reference in New Issue