From 0a5257390ed405a7e30102e08b3e12ba68db083b Mon Sep 17 00:00:00 2001 From: Ivan Bessarabov Date: Sat, 7 Nov 2020 14:16:34 +0300 Subject: [PATCH] Add qos default value (0) to service mqtt.publish (#15420) https://github.com/home-assistant/core/blob/6380ebd1ebd973b894dcc2ec4280a1be8fd8d93b/homeassistant/components/mqtt/const.py#L25 --- source/_docs/mqtt/service.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_docs/mqtt/service.markdown b/source/_docs/mqtt/service.markdown index c5b78436cfb..130ff59e469 100644 --- a/source/_docs/mqtt/service.markdown +++ b/source/_docs/mqtt/service.markdown @@ -13,7 +13,7 @@ The MQTT integration will register the service `mqtt.publish` which allows publi | `topic` | no | Topic to publish payload to. | `payload` | yes | Payload to publish. | `payload_template` | yes | Template to render as payload value. Ignored if payload given. -| `qos` | yes | Quality of Service to use. +| `qos` | yes | Quality of Service to use. (default: 0) | `retain` | yes | If message should have the retain flag set. (default: false)