From 45c7c1a71f8526aca7bc50a3dd198e8ded6beacc Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Thu, 19 Jan 2017 02:42:32 +0000 Subject: [PATCH] Adding Facebook to the notification Sequence! --- script/ifttt_notify.yaml | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/script/ifttt_notify.yaml b/script/ifttt_notify.yaml index b8bb311d..0be9931e 100755 --- a/script/ifttt_notify.yaml +++ b/script/ifttt_notify.yaml @@ -1,16 +1,24 @@ -###################################################################################################### -###Script to send notifications to IFTTT to notify me on the mobile Phone! Call like this: - # action: - # service: script.ifttt_notify - # data_template: - # value1: 'Startup: Home Assistant is Up and Running!' - # value2: '' - # value3: "{{ trigger.to_state.state }}" - - # IFTTT Maker channel should look like this: https://files.gitter.im/home-assistant/home-assistant/phkx/blob -###################################################################################################### - -ifttt_notify: - sequence: - - service: ifttt.trigger - data_template: {"event":"ifttt_notify", "value1":"{{ value1 }}", "value2":"{{ value2 }}", "value3":"{{ value3 }}"} +###################################################################################################### +###Script to send notifications to IFTTT to notify me on the mobile Phone! Call like this: + # action: + # service: script.ifttt_notify + # data_template: + # value1: 'Startup: Home Assistant is Up and Running!' + # value2: '' + # value3: "{{ trigger.to_state.state }}" + + # IFTTT Maker channel should look like this: https://files.gitter.im/home-assistant/home-assistant/phkx/blob +###################################################################################################### + +ifttt_notify: + sequence: + - service: ifttt.trigger + data_template: {"event":"ifttt_notify", "value1":"{{ value1 }}", "value2":"{{ value2 }}", "value3":"{{ value3 }}"} + + + - service: notify.facebook + data_template: + message: {"event":"ifttt_notify", "value1":"{{ value1 }}", "value2":"{{ value2 }}", "value3":"{{ value3 }}"} + target: + - +16468797283 + - +16469967218