Add 'title' configuration option in xmpp (#40125)

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
Alex Hermann 2025-07-24 21:09:22 +02:00 committed by GitHub
parent faec851627
commit e9e5a53299
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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." description: "Room's name (e.g., example@conference.jabber.org). If set, send a message to chatroom instead of the recipient."
required: false required: false
type: string type: string
title:
description: Default message title. To make it empty, set it to `""`.
required: false
type: string
default: "Home Assistant"
{% endconfiguration %} {% endconfiguration %}
{% note %} {% 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. 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, 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 ```yaml
# Example script.yaml entry # Example script.yaml entry