Skip to content

Commit 8ec4d8d

Browse files
arsaboofabaff
authored andcommitted
Added group (iOS) notification instructions (home-assistant#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
1 parent 8b39fda commit 8ec4d8d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

source/_docs/ecosystem/ios/notifications/basic.markdown

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,28 @@ automation
5757
data:
5858
subtitle: "Subtitle goes here"
5959
```
60+
61+
### {% linkable_title Sending notifications to multiple phones %}
62+
To send notifications to multiple phones, create a [notification group](https://home-assistant.io/components/notify.group/):
63+
```yaml
64+
notify:
65+
- name: NOTIFIER_NAME
66+
platform: group
67+
services:
68+
- service: ios_iphone_one
69+
- service: ios_iphone_two
70+
```
71+
Now, you can send notifications to everyone in the group using:
72+
```yaml
73+
automation:
74+
- alias: Notify iOS app
75+
trigger:
76+
...
77+
action:
78+
service: notify.NOTIFIER_NAME
79+
data:
80+
message: "Something happened at home!"
81+
data:
82+
push:
83+
badge: 5
84+
```

0 commit comments

Comments
 (0)