mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-28 00:40:35 +00:00
Adding images to the tweets
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user