mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-28 11:47:00 +00:00
Add 'title' configuration option in xmpp (#40125)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
faec851627
commit
e9e5a53299
@ -74,6 +74,11 @@ room:
|
||||
description: "Room's name (e.g., example@conference.jabber.org). If set, send a message to chatroom instead of the recipient."
|
||||
required: false
|
||||
type: string
|
||||
title:
|
||||
description: Default message title. To make it empty, set it to `""`.
|
||||
required: false
|
||||
type: string
|
||||
default: "Home Assistant"
|
||||
{% endconfiguration %}
|
||||
|
||||
{% note %}
|
||||
@ -90,7 +95,7 @@ You can send text messages and images as well as other files through Jabber.
|
||||
Here are some examples on how to set up a script, that can be run from an automation.
|
||||
|
||||
Number 1 shows a classical, text-only message. The Title is optional, although if omitted,
|
||||
`Home-Assistant` will be set. To keep it empty set it to `""`.
|
||||
it will be set to the component's `title` configuration variable. To keep it empty, set it to `""`.
|
||||
|
||||
```yaml
|
||||
# Example script.yaml entry
|
||||
|
Loading…
x
Reference in New Issue
Block a user