Remove topic_template option for mqtt publish service (#33656)

This commit is contained in:
Jan Bouwhuis 2024-07-09 18:22:19 +02:00 committed by GitHub
parent 5bf2aac70a
commit f56cbe1ae3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1106,7 +1106,6 @@ The MQTT integration will register the service `mqtt.publish` which allows publi
| Service data attribute | Optional | Description | | Service data attribute | Optional | Description |
| ---------------------- | -------- | ------------------------------------------------------------ | | ---------------------- | -------- | ------------------------------------------------------------ |
| `topic` | no | Topic to publish payload to. | | `topic` | no | Topic to publish payload to. |
| `topic_template` | no | Template to render as topic to publish payload to. |
| `payload` | yes | Payload to publish. | | `payload` | yes | Payload to publish. |
| `payload_template` | yes | Template to render as payload value. | | `payload_template` | yes | Template to render as payload value. |
| `qos` | yes | Quality of Service to use. (default: 0) | | `qos` | yes | Quality of Service to use. (default: 0) |
@ -1114,7 +1113,7 @@ The MQTT integration will register the service `mqtt.publish` which allows publi
{% important %} {% important %}
You must include either `topic` or `topic_template`, but not both. If providing a payload, you need to include either `payload` or `payload_template`, but not both. If providing a payload, you need to include either `payload` or `payload_template`, but not both.
{% endimportant %} {% endimportant %}