mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-13 21:38:40 +00:00
Adding Facebook to the notification Sequence!
This commit is contained in:
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…
x
Reference in New Issue
Block a user