This commit is contained in:
ccostan 2018-03-13 16:53:10 -04:00
parent 6c8a27c0cf
commit b674fdf05e
2 changed files with 7 additions and 8 deletions

View File

@ -153,13 +153,12 @@ automation:
"#SmartHomeCode"
] %}
{{ phrases|random ~ " " ~ hashtags|random }}
data_template:
media: >-
{% set pictures = [
"/config/www/custom_ui/floorplan/images/repo_ad.png",
"/config/www/custom_ui/floorplan/images/repo_ad2.png"
] %}
{{ pictures|random }}
image: >-
{% set pictures = [
"/config/www/custom_ui/floorplan/images/repo_ad.png",
"/config/www/custom_ui/floorplan/images/repo_ad2.png"
] %}
{{ pictures|random }}
- alias: 'Random House stats'
hide_entity: True

View File

@ -19,7 +19,7 @@ tweet_engine:
{{ tweet }} #IOT #SmartHome
data:
media: >-
{{ media }}
{{ image }}
# - service: ifttt.trigger
# data_template: {"event":"facebook_tweet", "value1":"{{ tweet }}", "value2":"{{ value2 }}", "value3":"{{ value3 }}"}