Skip to content

Commit ee9dc35

Browse files
authored
Merge pull request home-assistant#2443 from biacz/patch-2
Update notifications.markdown
2 parents a488edc + b830c19 commit ee9dc35

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

source/_docs/ecosystem/ios/notifications.markdown

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,13 @@ redirect_from: /ecosystem/ios/notifications/
1212

1313
The `ios` notify platform enables sending push notifications to the Home Assistant iOS app.
1414

15-
The 'ios' component will automatically load the notify service. No extra configuration is needed or supported.
15+
The 'ios' component will automatically load the notify service.
16+
The service component can be called using `service: notify.ios_<your_device_ID>`.
17+
Your device ID can be found in the `ios.conf` file in your configuration folder. The file is compressed JSON. You can view it easier by copying the file contents and pasting them into [JSONLint](http://jsonlint.com).
18+
19+
In this example, the device ID is `robbiet480_7plus`, so the notify service to use is `notify.ios_robbiet480_7plus`:
20+
```json
21+
{"devices":{"robbiet480_7plus":{"app":{"bundleIdentifer":"io.robbie.HomeAssistant","versionNumber":1,"buildNumber":53},"pushSounds":[],"permissions":["location"],"deviceId":"robbiet480_7plus","device":{"type":"iPhone 7 Plus","systemName":"iOS","systemVersion":"10.3","permanentID":"AB9F02FE-6AC6-47B8-ADEB-5DD87B489156","localizedModel":"iPhone","name":"Robbie's iPhone 7 Plus","model":"iPhone"},"battery":{"state":"Full","level":100},"pushToken":"SECRET","pushId":"SECRET"}}}
22+
```
23+
24+
You can find more information in the [Basic Notifications](https://home-assistant.io/docs/ecosystem/ios/notifications/basic/) documentation.

0 commit comments

Comments
 (0)