From 9279b696e1cedb0256c175a4f0409bba49fd64e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Mart=C3=ADn?= Date: Mon, 11 Mar 2024 01:12:56 +0100 Subject: [PATCH] feat(MQTT): Add QoS option for each MQTT component (#3635) --- components/mqtt.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/mqtt.rst b/components/mqtt.rst index 8187cc3a0..a62bdd94d 100644 --- a/components/mqtt.rst +++ b/components/mqtt.rst @@ -353,6 +353,7 @@ MQTT can have some overrides for specific options. name: "Component Name" # Optional variables: + qos: 1 retain: true availability: topic: livingroom/status @@ -366,6 +367,7 @@ Configuration variables: - **name** (**Required**, string): The name to use for the MQTT Component. +- **qos** (*Optional*, int): The [Quality of Service](https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels/) level for publishing. Defaults to 0. - **retain** (*Optional*, boolean): If all MQTT state messages should be retained. Defaults to ``true``. - **discovery** (*Optional*, boolean): Manually enable/disable