Added group (iOS) notification instructions (#2523)

* Updated apiai logo

* Updated Api.ai logo

The current logo was not visible against our white background (on the
components page) or the gray background (elsewhere on the website).

* Added group notifications instructions

Added instructions for sending notifications to multiple phones

* Link notification group
This commit is contained in:
Alok Saboo 2017-04-28 03:35:33 -04:00 committed by Fabian Affolter
parent 8b39fdafa0
commit 8ec4d8d172

View File

@ -57,3 +57,28 @@ automation
data:
subtitle: "Subtitle goes here"
```
### {% linkable_title Sending notifications to multiple phones %}
To send notifications to multiple phones, create a [notification group](https://home-assistant.io/components/notify.group/):
```yaml
notify:
- name: NOTIFIER_NAME
platform: group
services:
- service: ios_iphone_one
- service: ios_iphone_two
```
Now, you can send notifications to everyone in the group using:
```yaml
automation:
- alias: Notify iOS app
trigger:
...
action:
service: notify.NOTIFIER_NAME
data:
message: "Something happened at home!"
data:
push:
badge: 5
```