Adding images to the tweets

This commit is contained in:
Jeffrey Stone
2019-11-12 14:36:27 -05:00
parent b9e9713094
commit 71c2bb030e
6 changed files with 179 additions and 30 deletions

View File

@@ -71,6 +71,10 @@ automation:
"The #ISS just flew by with there are {{states.binary_sensor.iss.attributes.number_of_people_in_space}} people doing cool stuff. #Space #theycanseeourhouse",
"The #ISS just flew by with {{states.binary_sensor.iss.attributes.number_of_people_in_space}} people in it. #Space #theycanseeourhouse"
] | random }}
data:
media: >-
{{ [ "/config/www/tweet_images/iss.jpg",
"/config/www/tweet_images/iss2.jpg"] | random }}
- id: iss_notification
initial_state: true
@@ -102,5 +106,6 @@ automation:
{{ [
"There is a Full Moon out tonight, and this time it's the actual moon and not the neighbor. ",
"Hey look kids, There's the full moon. ",
"The moon is huge! And full. "
] | random + "#Space #fullmoon"}}
"The moon is huge! And full. "] | random + "#Space #fullmoon"}}
data:
media: /config/www/tweet_images/full_moon.jpg