Closes #317 - Updated with Image posting as well.

This commit is contained in:
ccostan 2018-03-15 12:16:13 -04:00
parent 2b1ec0e621
commit 15cf5230be
3 changed files with 6 additions and 1 deletions

View File

@ -38,9 +38,14 @@ automation:
message: "New RSS item available - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}"
notification_id: "update_available"
- service: script.tweet_engine
- service: script.tweet_engine_image
data_template:
tweet: '{{trigger.event.data.title}} - {{trigger.event.data.link}}'
image: >-
{% set pictures = [
"/config/www/custom_ui/floorplan/images/branding/BearStoneParty.png"
] %}
{{ pictures|random }}
- service: script.notify_engine
data_template:

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB