Update with grouping of notifications (#6410)

* Update with grouping of notifications

Also two minor changes to sentences about iOS 10 to reflect that there is newer versions out now.

* Minor tweaks
This commit is contained in:
Isabella Gross Alström 2018-10-01 15:54:58 +02:00 committed by Fabian Affolter
parent 5e3eb19a6c
commit 268366c62e

View File

@ -14,7 +14,7 @@ The iOS notify platform accepts the standard `title`, `message` and `target` par
Notes:
* `title` only displays on Apple Watch and iOS 10 devices.
* `title` only displays on Apple Watch and devices with iOS 10 or above.
* `target` can be used to specific a single device using its PushID, found in `ios.conf`. The preferred way of providing a target is through a target specific notify service.
@ -44,7 +44,7 @@ automation:
```
#### Subtitle
iOS 10 supports a subtitle in addition to the title:
Starting with iOS 10, a subtitle is supported in addition to the title:
```yaml
automation
@ -60,6 +60,25 @@ automation
subtitle: "Subtitle goes here"
```
#### Thread-id (grouping notifications)
Starting with iOS 12, grouping of notifications is supported. All notifications with the same thread-id will be grouped together in the notification center. Without a thread-id, all notifications from the app will be placed in a single group.
```yaml
automation:
- alias: Notify iOS app
trigger:
...
action:
service: notify.ios_<your_device_id_here>
data:
title: "Smart Home Alerts"
message: "Something happened at home!"
data:
push:
thread-id: "example-notification-group"
```
### {% linkable_title Sending notifications to multiple phones %}
To send notifications to multiple phones, create a [notification group](/components/notify.group/):
```yaml