From f14dc0989fab56b8861ebffb22a4c8e0fa28e4a2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 21 Oct 2015 19:39:31 +0200 Subject: [PATCH] Update doc --- source/components/sensor.mqtt.markdown | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/source/components/sensor.mqtt.markdown b/source/components/sensor.mqtt.markdown index 442d53b4044..d948d4f1410 100644 --- a/source/components/sensor.mqtt.markdown +++ b/source/components/sensor.mqtt.markdown @@ -10,10 +10,9 @@ footer: true --- -This generic sensor implementation uses the MQTT message payload -as the sensor value. If messages in this state_topic are published -with RETAIN flag, the sensor will receive an instant update with -last known value. Otherwise, the initial state will be undefined. +This MQTT sensor implementation uses the MQTT message payload as the sensor value. If messages in this state_topic are published with *RETAIN* flag, the sensor will receive an instant update with last known value. Otherwise, the initial state will be undefined. + +To use your MQTT sensor in your installation, add the following to your `configuration.yaml` file: ```yaml # Example configuration.yml entry