mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 17:57:14 +00:00
Pushover - added missing API parameters (#2157)
Added an example of the optional parameters which can be passed to Pushover.
This commit is contained in:
parent
7bef79d475
commit
875419f124
@ -53,3 +53,23 @@ This is a quote from the Pushover website regarding free/open source apps:
|
|||||||
When setting up the application you can use this [icon](https://home-assistant.io/images/favicon-192x192.png).
|
When setting up the application you can use this [icon](https://home-assistant.io/images/favicon-192x192.png).
|
||||||
|
|
||||||
To use notifications, please see the [getting started with automation page](/getting-started/automation/).
|
To use notifications, please see the [getting started with automation page](/getting-started/automation/).
|
||||||
|
|
||||||
|
When sending a notification, optional parameters can also be set as per the pushover [API documentation](https://pushover.net/api).
|
||||||
|
|
||||||
|
Example notification triggered from the Alexa component for an intents is shown below which also uses [Automation Templating](/getting-started/automation-templating/) for the message:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yaml entries
|
||||||
|
alexa:
|
||||||
|
intents:
|
||||||
|
LocateIntent:
|
||||||
|
action:
|
||||||
|
service: notify.notify
|
||||||
|
data_template:
|
||||||
|
message: "The location of {% raw %}{{ User }}{% endraw %} has been queried via Alexa."
|
||||||
|
data:
|
||||||
|
title: "Home Assistant"
|
||||||
|
sound: falling
|
||||||
|
device: pixel
|
||||||
|
url: "https://home-assistant.io/"
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user