From 762fb28ab45f1685bd9b8f3d8a601fc0cec71e64 Mon Sep 17 00:00:00 2001 From: Marek Lewandowski Date: Thu, 14 Sep 2017 21:00:43 +0200 Subject: [PATCH] Fixed a typo in code listing. (#3363) --- source/_cookbook/python_component_mqtt_basic.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_cookbook/python_component_mqtt_basic.markdown b/source/_cookbook/python_component_mqtt_basic.markdown index 3deb82bd4b8..f038f21969e 100644 --- a/source/_cookbook/python_component_mqtt_basic.markdown +++ b/source/_cookbook/python_component_mqtt_basic.markdown @@ -46,7 +46,7 @@ def setup(hass, config): # Subscribe our listener to a topic. mqtt.subscribe(hass, topic, message_received) - # Set the intial state + # Set the initial state. hass.states.set(entity_id, 'No messages') # Service to publish a message on MQTT.