diff --git a/automation/watchdog.yaml b/automation/watchdog.yaml index 0bb4d185..baa097b5 100755 --- a/automation/watchdog.yaml +++ b/automation/watchdog.yaml @@ -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')}}" diff --git a/script/switch_turn_off.yaml b/script/switch_turn_off.yaml new file mode 100755 index 00000000..19f5e594 --- /dev/null +++ b/script/switch_turn_off.yaml @@ -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' \ No newline at end of file