From 0eae99acabdcff5212d2c25d87091d82ed96b491 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Fri, 19 Jul 2024 10:10:43 +0200 Subject: [PATCH] Remove deprecated template options for mqtt publish action (#33854) Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- source/_integrations/mqtt.markdown | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/_integrations/mqtt.markdown b/source/_integrations/mqtt.markdown index 215db0fa5e6..73c28b1a55b 100644 --- a/source/_integrations/mqtt.markdown +++ b/source/_integrations/mqtt.markdown @@ -1099,16 +1099,14 @@ script: ## Publish & Dump actions -The MQTT integration will register the `mqtt.publish` action which allows publishing messages to MQTT topics. There are two ways of specifying your payload. You can either use `payload` to hard-code a payload or use `payload_template` to specify a [template](/docs/configuration/templating/#using-templates-with-the-mqtt-integration) that will be rendered to generate the payload. +The MQTT integration will register the `mqtt.publish` action, which allows publishing messages to MQTT topics. ### Action `mqtt.publish` | Data attribute | Optional | Description | | ---------------------- | -------- | ------------------------------------------------------------ | | `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_template` | yes | Template to render as payload value. | +| `payload` | no | Payload to publish. | | `qos` | yes | Quality of Service to use. (default: 0) | | `retain` | yes | If message should have the retain flag set. (default: false) |