mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 07:46:52 +00:00
Add title option to notify entity (#32576)
* Add title option to notify entity * Update example
This commit is contained in:
parent
819fad0678
commit
29c87a8a08
@ -41,6 +41,7 @@ Integrations can also implement the notify entity platform. Entity platform impl
|
|||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
| ---------------------- | -------- | ----------- |
|
| ---------------------- | -------- | ----------- |
|
||||||
| `message` | no | Body of the notification.
|
| `message` | no | Body of the notification.
|
||||||
|
| `title` | yes | Title of the notification.
|
||||||
|
|
||||||
## Companion app notifications
|
## Companion app notifications
|
||||||
|
|
||||||
@ -71,6 +72,7 @@ service: notify.send_message
|
|||||||
data:
|
data:
|
||||||
entity_id: notify.my_direct_message_notifier
|
entity_id: notify.my_direct_message_notifier
|
||||||
message: "You have an update!"
|
message: "You have an update!"
|
||||||
|
title: "Status changed"
|
||||||
```
|
```
|
||||||
|
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user