From 8a63325abe9d5c0617cc53f1a2e16c27bcc67225 Mon Sep 17 00:00:00 2001 From: sfam Date: Thu, 20 Aug 2015 23:09:11 +0100 Subject: [PATCH] update --- homeassistant/components/sensor/mqtt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/sensor/mqtt.py b/homeassistant/components/sensor/mqtt.py index 1af8614a7dc..b6c7a7b4ea1 100644 --- a/homeassistant/components/sensor/mqtt.py +++ b/homeassistant/components/sensor/mqtt.py @@ -4,9 +4,9 @@ homeassistant.components.sensor.mqtt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Allows to configure a MQTT sensor. -This generic sensor implementation uses the MQTT message payload +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 +with RETAIN flag, the sensor will receive an instant update with last known value. Otherwise, the initial state will be undefined. sensor: