Skip to content

Commit 762fb28

Browse files
mlewandfabaff
authored andcommitted
Fixed a typo in code listing. (home-assistant#3363)
1 parent 2ddd821 commit 762fb28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_cookbook/python_component_mqtt_basic.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def setup(hass, config):
4646
# Subscribe our listener to a topic.
4747
mqtt.subscribe(hass, topic, message_received)
4848

49-
# Set the intial state
49+
# Set the initial state.
5050
hass.states.set(entity_id, 'No messages')
5151

5252
# Service to publish a message on MQTT.

0 commit comments

Comments
 (0)