update docstring

This commit is contained in:
sfam committed 2015-08-22 14:57:57 +01:00
1 parent 8a63325abe
commit 01ed3b18cc
1 file changed
+1
+1
View File
@@ -67,6 +67,7 @@ class MqttSensor(Entity):
self._unit_of_measurement = unit_of_measurement
def message_received(topic, payload, qos):
""" A new MQTT message has been received. """
self._state = payload
self.update_ha_state()