Scripting Notify IFTTT

This commit is contained in:
CCOSTAN 2016-12-01 04:20:45 +00:00
parent 9e87b7b3a3
commit bec6903fb1
2 changed files with 20 additions and 2 deletions

View File

@ -58,6 +58,9 @@
value_template: "{{ states('cover.garadget_small') == 'opened' }}"
action:
- service: ifttt.trigger
data: {"event":"ifttt_notify", "value1":"Check Garage Doors: ", "value2":"Small: {{ states('cover.garadget_small')}}", "value3":"Large: {{ states('cover.garadget_large')}} "}
service: script.ifttt_notify
data_template:
value1: 'Check Garage Doors:'
value2: "Small: {{ states('cover.garadget_small')}}"
value3: "Large: {{ states('cover.garadget_large')}}"

15
script/switch_turn_off.yaml Executable file
View File

@ -0,0 +1,15 @@
######################################################################################################
###Script to send notifications to IFTTT to notify me on the mobile Phone! Call like this:
######################################################################################################
switch_turn_off:
sequence:
- service: switch.turn_off
entity_id: switch.kitchen_accents
- delay: '00:00:30'
- service: switch.turn_off
entity_id: switch.kitchen_accents
- delay: '00:00:30'
- service: switch.turn_off
entity_id: switch.kitchen_accents
- delay: '00:00:30'