From ba09360ce47c766ea32e50698a65e69b9c536728 Mon Sep 17 00:00:00 2001 From: Fredrik Lindqvist Date: Mon, 30 Jan 2017 22:27:25 +0100 Subject: [PATCH] Update switch.mqtt.markdown (#1923) Fix `mosquitto_pub` example to work with example code. --- source/_components/switch.mqtt.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/switch.mqtt.markdown b/source/_components/switch.mqtt.markdown index 14a1f7e6ba8..8b23698d480 100644 --- a/source/_components/switch.mqtt.markdown +++ b/source/_components/switch.mqtt.markdown @@ -71,5 +71,5 @@ switch: For a check you can use the command line tools `mosquitto_pub` shipped with `mosquitto` to send MQTT messages. This allows you to operate your switch manually: ```bash -$ mosquitto_pub -h 127.0.0.1 -t home/bedroom/switch1set -m "ON" +$ mosquitto_pub -h 127.0.0.1 -t home/bedroom/switch1 -m "ON" ```