Adding Facebook to the notification Sequence!

pull/76/head
CCOSTAN 9 years ago
parent b8bc25836c
commit 45c7c1a71f

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

Loading…
Cancel
Save

Powered by TurnKey Linux.