Adding Facebook to the notification Sequence!

This commit is contained in:
CCOSTAN 2017-01-19 02:42:32 +00:00
parent b8bc25836c
commit 45c7c1a71f

View File

@ -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