Fixed a typo in code listing. (#3363)

This commit is contained in:
Marek Lewandowski 2017-09-14 21:00:43 +02:00 committed by Fabian Affolter
parent 2ddd82155e
commit 762fb28ab4

View File

@ -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.