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
This commit is contained in:
Matt N 2017-10-23 00:58:23 -07:00 committed by Fabian Affolter
parent 13c6d6befd
commit 4c3bff048b

View File

@ -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_<your_device_id_here>
data:
message: Motion detected in the Living Room
data:
attachment:
content-type: jpeg
push:
category: camera
entity_id: camera.demo_camera