From 48aea3b187b270c2f3a56c101a67abcaa11b6927 Mon Sep 17 00:00:00 2001 From: ccostan Date: Sat, 16 Mar 2019 18:05:28 -0400 Subject: [PATCH] Finally some movement on #357 - This will show snaphots of the front door. Thanks @3vasi0n89 --- config/script/notify_engine.yaml | 8 ++++++-- config/script/skybell_pressed.yaml | 8 +++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/config/script/notify_engine.yaml b/config/script/notify_engine.yaml index fdb5ebaa..e247a7b7 100755 --- a/config/script/notify_engine.yaml +++ b/config/script/notify_engine.yaml @@ -3,10 +3,13 @@ # action: # service: script.notify_engine # data_template: + # title: 'Ios Title' # value1: 'Startup: Home Assistant is Up and Running!' - # value2: '' - # value3: "{{ trigger.to_state.state }}" + # value2: "{{ trigger.to_state.state }}" + # value3: # who: "stacey | carlo | paige | family | parents" + # camera_entity: 'Camera.Camera' + # content-type: "jpeg" # IFTTT Maker channel should look like this: https://files.gitter.im/home-assistant/home-assistant/phkx/blob ###################################################################################################### @@ -39,6 +42,7 @@ notify_engine: data: attachment: content-type: "{{ content_type }}" + hide-thumbnail: false push: sound: "{{ ios_sound }}" badge: "{{ ios_badge }}" diff --git a/config/script/skybell_pressed.yaml b/config/script/skybell_pressed.yaml index 3af5cd56..af335fef 100755 --- a/config/script/skybell_pressed.yaml +++ b/config/script/skybell_pressed.yaml @@ -19,13 +19,15 @@ skybell_pressed: - service: script.notify_engine data_template: - ios_title: 'DoorBell' + title: 'Front DoorBell' value1: 'Someone pressed the doorbell' who: 'family' - camera_entity: camera.stone_door + category: 'camera' + camera_entity: 'camera.stone_door' + content-type: 'jpeg' - service: script.flash_notify - + - service: script.tweet_engine_image data_template: tweet: >