mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 05:16:49 +00:00
parent
a26a720905
commit
6c632ae67d
@ -48,14 +48,14 @@ 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"
|
||||||
data:
|
data:
|
||||||
url: "https://www.home-assistant.io/"
|
url: "https://www.home-assistant.io/"
|
||||||
sound: pianobar
|
sound: pianobar
|
||||||
priority: 0
|
priority: 0
|
||||||
attachment: "local/image.png"
|
attachment: "local/image.png"
|
||||||
```
|
```
|
||||||
|
|
||||||
Component specific values in the nested `data` section are optional.
|
Component specific values in the nested `data` section are optional.
|
||||||
@ -66,15 +66,15 @@ To use a specific Pushover device, set it using `target`. If one of the entered
|
|||||||
|
|
||||||
```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"
|
||||||
target:
|
target:
|
||||||
- pixel3
|
- pixel3
|
||||||
- pixel4a
|
- pixel4a
|
||||||
data:
|
data:
|
||||||
sound: pianobar
|
sound: pianobar
|
||||||
priority: 0
|
priority: 0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user