From 4c3bff048b82dbf9c4c7e63551e3c66da65e1085 Mon Sep 17 00:00:00 2001 From: Matt N Date: Mon, 23 Oct 2017 00:58:23 -0700 Subject: [PATCH] Make it more clear that `content-type` is relevant for camera iOS notifications (#3731) Without `content-type`, no thumbnail would show: https://github.com/home-assistant/home-assistant-iOS/issues/39#issuecomment-338554874 --- .../ecosystem/ios/notifications/content_extensions.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_docs/ecosystem/ios/notifications/content_extensions.markdown b/source/_docs/ecosystem/ios/notifications/content_extensions.markdown index b22dca31a8f..721386de2e3 100644 --- a/source/_docs/ecosystem/ios/notifications/content_extensions.markdown +++ b/source/_docs/ecosystem/ios/notifications/content_extensions.markdown @@ -57,7 +57,7 @@ You can also pass the following properties under `action_data` to modify the map The notification thumbnail will be a still image from the camera. The notification content is a real time MJPEG stream of a camera (assuming the camera supports it). -You can use the attachment parameters `content-type` and `hide-thumbnail` with camera. +You can use the attachment parameters `content-type` and `hide-thumbnail` with camera to control the thumbnail. You can view an example [here](https://www.youtube.com/watch?v=LmYwpxPKW0g). @@ -66,6 +66,8 @@ service: notify.ios_ data: message: Motion detected in the Living Room data: + attachment: + content-type: jpeg push: category: camera entity_id: camera.demo_camera