From b5d5a42a6d6f8cfc5e00ac94437ac07507215b1e Mon Sep 17 00:00:00 2001 From: ccostan Date: Sat, 16 Mar 2019 18:57:17 -0400 Subject: [PATCH] ok.. Pictures in IOS notifications are working! #357 --- config/packages/skybellhd.yaml | 4 ++-- config/script/notify_engine.yaml | 8 ++++---- config/script/skybell_pressed.yaml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/packages/skybellhd.yaml b/config/packages/skybellhd.yaml index a029b449..98d65dcd 100755 --- a/config/packages/skybellhd.yaml +++ b/config/packages/skybellhd.yaml @@ -69,8 +69,8 @@ automation: entity_id: - binary_sensor.skybell_stone_door_button to: 'on' - # - platform: event - # event_type: skybell_pressed + - platform: event + event_type: skybell_pressed condition: - condition: template diff --git a/config/script/notify_engine.yaml b/config/script/notify_engine.yaml index e247a7b7..d52bfeec 100755 --- a/config/script/notify_engine.yaml +++ b/config/script/notify_engine.yaml @@ -43,8 +43,8 @@ notify_engine: attachment: content-type: "{{ content_type }}" hide-thumbnail: false - push: - sound: "{{ ios_sound }}" - badge: "{{ ios_badge }}" - category: "{{ ios_category }}" + push: + sound: "{{ ios_sound }}" + badge: "{{ ios_badge }}" + category: "{{ ios_category }}" entity_id: "{{ camera_entity }}" diff --git a/config/script/skybell_pressed.yaml b/config/script/skybell_pressed.yaml index af335fef..f45fb07d 100755 --- a/config/script/skybell_pressed.yaml +++ b/config/script/skybell_pressed.yaml @@ -22,9 +22,9 @@ skybell_pressed: title: 'Front DoorBell' value1: 'Someone pressed the doorbell' who: 'family' - category: 'camera' + ios_category: 'camera' camera_entity: 'camera.stone_door' - content-type: 'jpeg' + content_type: 'jpeg' - service: script.flash_notify