Skip to content

Commit 492f975

Browse files
corbanmaillouxfabaff
authored andcommitted
Typo fixes in APNS docs. (home-assistant#1789)
1 parent 86789c9 commit 492f975

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/_components/notify.apns.markdown

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ha_release: 0.31
1414

1515
The `apns` platform uses the Apple Push Notification service (APNS) to deliver notifications from Home Assistant.
1616

17-
To use the APNS service you will need an Apple developer account and you will need to create an App to receive push notifications. For more information see the apple developer documentation.
17+
To use the APNS service you will need an Apple developer account and you will need to create an app to receive push notifications. For more information, see the Apple developer documentation.
1818

1919
```yaml
2020
# Example configuration.yaml entry
@@ -36,20 +36,20 @@ The APNS platform will register two services, `notify.NOTIFIER_NAME` and `notify
3636

3737
### notify.apns_NOTIFIER_NAME
3838

39-
This service will register device id's with home assistant. In order to receive a notification a device must be registered. The app on the device can use this service to send an ID to Home Assistant during startup, the ID will be stored in `[NOTIFIER_NAME]_apns.yaml`.
39+
This service will register device IDs with Home Assistant. In order to receive a notification a device must be registered. The app on the device can use this service to send an ID to Home Assistant during startup, the ID will be stored in `[NOTIFIER_NAME]_apns.yaml`.
4040

41-
See didRegisterForRemoteNotificationsWithDeviceToken in the [Apple developer documentation](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/#//apple_ref/occ/intfm/UIApplicationDelegate/application:didRegisterForRemoteNotificationsWithDeviceToken:) for more information about how to obtain a device id.
41+
See `didRegisterForRemoteNotificationsWithDeviceToken` in the [Apple developer documentation](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/#//apple_ref/occ/intfm/UIApplicationDelegate/application:didRegisterForRemoteNotificationsWithDeviceToken:) for more information about how to obtain a device ID.
4242

4343
### notify.NOTIFIER_NAME
4444

4545
This service will send messages to a registered device. The following parameters can be used:
4646

47-
- **message**: The message to send
47+
- **message**: The message to send.
4848

4949
- **target**: The desired state of the device, only devices that match the state will receive messages. To enable state tracking a registered device must have a `tracking_device_id` attribute added to the `[NOTIFIER_NAME]_apns.yaml` file. If this ID matches a device in `known_devices.yaml` the device state will be tracked.
5050

5151
- **data**:
52-
* **badge**: The number to display as the badge of the app ic.
52+
* **badge**: The number to display as the badge of the app icon.
5353
* **sound**: The name of a sound file in the app bundle or in the Library/Sounds folder.
54-
* **category**: Provide this key with a string value that represents the identifier property of the UIMutableUserNotificationCategory.
54+
* **category**: Provide this key with a string value that represents the identifier property of the `UIMutableUserNotificationCategory`.
5555
* **content_available**: Provide this key with a value of 1 to indicate that new content is available.

0 commit comments

Comments
 (0)