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

@@ -86,7 +86,7 @@ automation:
- service: script.twitter_notify
data:
message: 'I just provided a morning briefing including weather, and traffic
conditions to the residents of Anchorage House. '
conditions, and other things that ensure the residents of Anchorage House know what to expect today. '
- id: skylar_morning_greeting
alias: Skylar Morning Greeting
@@ -145,15 +145,3 @@ automation:
07:45
{% endif %}
- alias: Announce Freeze Warning
initial_state: 'on'
trigger:
- platform: state
entity_id: input_boolean.freeze_warning
to: 'on'
action:
- service: script.twitter_notify
data_template:
message: '{{ [ "Appears that the temperature will be below freezing tonight. I think I will stay inside.",
"The temperature tonight will kill sensative plants, so I just made a weather announcement. I cannot through inaction allow another to come to harm.",
"Winter is coming. Actually it is already here. I suggest sleeping with Dragon Glass." ] | random }}'