From 63ffe5293e349f72b3bf8fdee689f4f800508f13 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Thu, 6 Feb 2025 21:53:24 +0100 Subject: [PATCH] Make `payload` attribute optional again for MQTT publish action (#37338) --- source/_integrations/mqtt.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/mqtt.markdown b/source/_integrations/mqtt.markdown index 2282cd1a0a0..910d626c2f6 100644 --- a/source/_integrations/mqtt.markdown +++ b/source/_integrations/mqtt.markdown @@ -1466,7 +1466,7 @@ The MQTT integration will register the `mqtt.publish` action, which allows publi | Data attribute | Optional | Description | | ---------------------- | -------- | ------------------------------------------------------------ | | `topic` | no | Topic to publish payload to. | -| `payload` | no | Payload to publish. | +| `payload` | yes | Payload to publish. Will publish an empty payload when `payload` is omitted. | | `evaluate_payload` | yes | If a `bytes` literal in `payload` should be evaluated to publish raw data. (default: false)| | `qos` | yes | Quality of Service to use. (default: 0) | | `retain` | yes | If message should have the retain flag set. (default: false) |