mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
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:
parent
13c6d6befd
commit
4c3bff048b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user