mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-22 17:06:15 +00:00
Scripting Notify IFTTT
This commit is contained in:
parent
9e87b7b3a3
commit
bec6903fb1
@ -58,6 +58,9 @@
|
|||||||
value_template: "{{ states('cover.garadget_small') == 'opened' }}"
|
value_template: "{{ states('cover.garadget_small') == 'opened' }}"
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: ifttt.trigger
|
service: script.ifttt_notify
|
||||||
data: {"event":"ifttt_notify", "value1":"Check Garage Doors: ", "value2":"Small: {{ states('cover.garadget_small')}}", "value3":"Large: {{ states('cover.garadget_large')}} "}
|
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
15
script/switch_turn_off.yaml
Executable 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'
|
Loading…
x
Reference in New Issue
Block a user