From 8ec4d8d172ca0a64aafe21531dce422aa5a10b1c Mon Sep 17 00:00:00 2001 From: Alok Saboo Date: Fri, 28 Apr 2017 03:35:33 -0400 Subject: [PATCH] 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 --- .../ios/notifications/basic.markdown | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/source/_docs/ecosystem/ios/notifications/basic.markdown b/source/_docs/ecosystem/ios/notifications/basic.markdown index 188454e259a..5f8d7237450 100644 --- a/source/_docs/ecosystem/ios/notifications/basic.markdown +++ b/source/_docs/ecosystem/ios/notifications/basic.markdown @@ -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 +```