From 8c38fcf93d15977b8935a1647b742717c598c278 Mon Sep 17 00:00:00 2001 From: ccostan Date: Thu, 11 Jan 2018 16:07:28 -0500 Subject: [PATCH] NeW way of using Data_template for IFTTT. --- script/tweet.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/script/tweet.yaml b/script/tweet.yaml index 24280e7f..39ab0f7d 100755 --- a/script/tweet.yaml +++ b/script/tweet.yaml @@ -11,4 +11,8 @@ tweet_engine: {{ tweet }} #IOT #SmartHome - service: ifttt.trigger - data_template: {"event":"Facebook_Post", "Value1":" ~ tweet ~ "} + data_template: + event: >- + "Facebook_Post" + value1: >- + {{ tweet }}