From 312d824c47b0df90dce8558ec49554ab2122acc6 Mon Sep 17 00:00:00 2001 From: ccostan Date: Tue, 13 Mar 2018 16:40:46 -0400 Subject: [PATCH] Closes #333 - This should work now. --- config/packages/twitter.yaml | 2 +- config/script/tweet.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/packages/twitter.yaml b/config/packages/twitter.yaml index 85b22dc6..b6e21b28 100755 --- a/config/packages/twitter.yaml +++ b/config/packages/twitter.yaml @@ -146,7 +146,7 @@ automation: {% set issue = trigger.event.data.issue %} {% set issueurl = trigger.event.data.issueurl %} {% set phrases = [ - "New Code Available: " ~ issue ~ " " ~ issueurl + "New Code: " ~ issue ~ " " ~ issueurl ] %} {% set hashtags = [ "#Github", diff --git a/config/script/tweet.yaml b/config/script/tweet.yaml index 49e3001d..ec8fad69 100755 --- a/config/script/tweet.yaml +++ b/config/script/tweet.yaml @@ -10,16 +10,16 @@ tweet_engine: data_template: topic: 'ifttt/message' payload: >- - {{ tweet }} + {{ tweet }} - {{media}} retain: true - service: notify.BearStoneHA data_template: message: >- {{ tweet }} #IOT #SmartHome - data_template: - media: >- - {{ media }} + data_template: + media: >- + {{ media }} # - service: ifttt.trigger # data_template: {"event":"facebook_tweet", "value1":"{{ tweet }}", "value2":"{{ value2 }}", "value3":"{{ value3 }}"}