Closes #317 - Updated with Image posting as well.
This commit is contained in:
parent
2b1ec0e621
commit
15cf5230be
|
@ -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 |
Loading…
Reference in New Issue