mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 14:26:51 +00:00
Merge pull request #4353 from hamid-elaosta/current
Fix the structure for component specific keys in Pushover
This commit is contained in:
commit
1161ca054d
@ -37,12 +37,15 @@ Configuration variables:
|
|||||||
Example Automation:
|
Example Automation:
|
||||||
```yaml
|
```yaml
|
||||||
- service: notify.entity_id
|
- service: notify.entity_id
|
||||||
data:
|
data:
|
||||||
message: "This is the message"
|
message: "This is the message"
|
||||||
title: "Title of message"
|
title: "Title of message"
|
||||||
sound: pianobar
|
data:
|
||||||
priority: 0
|
url: "https://home-assistant.io/"
|
||||||
|
sound: pianobar
|
||||||
|
priority: 0
|
||||||
```
|
```
|
||||||
|
Component specific values in the nested `data` section are optional.
|
||||||
|
|
||||||
This is a quote from the Pushover website regarding free/open source apps:
|
This is a quote from the Pushover website regarding free/open source apps:
|
||||||
|
|
||||||
@ -54,7 +57,7 @@ When setting up the application you can use this [icon](https://home-assistant.i
|
|||||||
|
|
||||||
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).
|
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:
|
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:
|
||||||
|
|
||||||
@ -67,8 +70,9 @@ alexa:
|
|||||||
service: notify.notify
|
service: notify.notify
|
||||||
data_template:
|
data_template:
|
||||||
message: "The location of {% raw %}{{ User }}{% endraw %} has been queried via Alexa."
|
message: "The location of {% raw %}{{ User }}{% endraw %} has been queried via Alexa."
|
||||||
|
data:
|
||||||
|
title: "Home Assistant"
|
||||||
data:
|
data:
|
||||||
title: "Home Assistant"
|
|
||||||
sound: falling
|
sound: falling
|
||||||
device: pixel
|
device: pixel
|
||||||
url: "https://home-assistant.io/"
|
url: "https://home-assistant.io/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user