Update some more image tweets.

This commit is contained in:
ccostan 2018-03-31 14:36:07 -04:00
parent 0c566fc28c
commit eab420e27e
2 changed files with 11 additions and 4 deletions

View File

@ -15,10 +15,16 @@
value2: "{{ states('updater.updater') }}"
who: 'carlo'
- service: script.tweet_engine
data:
- service: script.tweet_engine_image
data_template:
tweet: "New version of @Home_Assistant! Cannot wait for @CCostan to install it! - {{ states('updater.updater') }} (http://www.vmwareinfo.com/2017/07/my-smart-home-look-at-parts-that-make.html)"
image: >-
{{ [
"/config/www/custom_ui/floorplan/images/branding/repo_ad.png",
"/config/www/custom_ui/floorplan/images/branding/repo_ad2.png",
"/config/www/custom_ui/floorplan/images/branding/repo_ad3.png",
"/config/www/custom_ui/floorplan/images/branding/repo_ad4.png"
] | random }}
- service: notify.html5
data_template:

View File

@ -218,7 +218,8 @@ automation:
{% set pictures = [
"/config/www/custom_ui/floorplan/images/branding/repo_ad.png",
"/config/www/custom_ui/floorplan/images/branding/repo_ad2.png",
"/config/www/custom_ui/floorplan/images/branding/repo_ad3.png"
"/config/www/custom_ui/floorplan/images/branding/repo_ad3.png",
"/config/www/custom_ui/floorplan/images/branding/repo_ad4.png"
] %}
{{ pictures|random }}