mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 10:26:52 +00:00
Change name of apns notify service (#1772)
* Both apns notify services are now found under the notify domain. * Update required configuration.
This commit is contained in:
parent
c80d9b5e29
commit
f72a7838e7
@ -22,17 +22,19 @@ notify:
|
|||||||
name: NOTIFIER_NAME
|
name: NOTIFIER_NAME
|
||||||
platform: apns
|
platform: apns
|
||||||
cert_file: cert_file.pem
|
cert_file: cert_file.pem
|
||||||
|
topic: topic
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- **name** (*Required*): The name of the notifier. The notifier will bind to the service `notify.NOTIFIER_NAME`.
|
- **name** (*Required*): The name of the notifier. The notifier will bind to the service `notify.NOTIFIER_NAME`.
|
||||||
- **sandbox** (*Optional*): If true notifications will be sent to the sandbox (test) notification service. Default false.
|
|
||||||
- **cert_file** (*Required*): The certificate to use to authenticate with the APNS service.
|
- **cert_file** (*Required*): The certificate to use to authenticate with the APNS service.
|
||||||
|
- **topic** (*Required*): The app bundle ID specified in the certificate.
|
||||||
|
- **sandbox** (*Optional*): If true notifications will be sent to the sandbox (test) notification service. Default false.
|
||||||
|
|
||||||
The APNS platform will register two services, `notify.NOTIFIER_NAME` and `apns.NOTIFIER_NAME`.
|
The APNS platform will register two services, `notify.NOTIFIER_NAME` and `notify.apns_NOTIFIER_NAME`.
|
||||||
|
|
||||||
### apns.NOTIFIER_NAME
|
### notify.apns_NOTIFIER_NAME
|
||||||
|
|
||||||
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`.
|
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`.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user