From 8cbb66a8bc8de1c1833280c8eee45da0780318f0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 7 Sep 2015 16:59:31 +0200 Subject: [PATCH] add qos --- source/components/sensor.mqtt.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/components/sensor.mqtt.markdown b/source/components/sensor.mqtt.markdown index 69fef13c525..ac7ca6596de 100644 --- a/source/components/sensor.mqtt.markdown +++ b/source/components/sensor.mqtt.markdown @@ -21,9 +21,11 @@ sensor: platform: mqtt name: "MQTT Sensor" state_topic: "home/bedroom/temperature" + qos: 0 unit_of_measurement: "°C" ``` - **name**: The name of the sensor. Default is 'MQTT Sensor'. *Optional* - **state_topic**: The MQTT topic subscribed to receive sensor values. *Required* +- **qos**: The maximum QoS level of the state topic. Default is 0. *Optional* - **unit_of_measurement**: Defines the units of measurement of the sensor, if any. *Optional*