Updated notifier documentation.
1) Added missing notifiers to general notifier page and rearranged notifiers to be in alphabetical order. 2) Added documentation about new name property for notifiers and how it works into the service call.
This commit is contained in:
parent
c0d6ab9105
commit
0b4c6b188b
11 changed files with 59 additions and 14 deletions
|
@ -17,6 +17,7 @@ To use PushOver notifications, add the following to your `configuration.yaml` fi
|
|||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
notify:
|
||||
name: NOTIFIER_NAME
|
||||
platform: pushover
|
||||
# Get this by registering a new application on https://pushover.net
|
||||
api_key: ABCDEFGHJKLMNOPQRSTUVXYZ
|
||||
|
@ -24,6 +25,9 @@ notify:
|
|||
user_key: ABCDEFGHJKLMNOPQRSTUVXYZ
|
||||
```
|
||||
|
||||
Setting the optional parameter `name` allows multiple notifiers to be created.
|
||||
The default value is `notify`. The notifier will bind to the service
|
||||
`notify.NOTIFIER_NAME`.
|
||||
|
||||
### Automation example
|
||||
|
||||
|
@ -38,7 +42,7 @@ automation:
|
|||
state_from: above_horizon
|
||||
state_to: below_horizon
|
||||
|
||||
execute_service: notify.notify
|
||||
execute_service: notify.NOTIFIER_NAME
|
||||
service_data: {"message":"YAY"}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue