Skip to content

Commit ba09360

Browse files
Landrashfabaff
authored andcommitted
Update switch.mqtt.markdown (home-assistant#1923)
Fix `mosquitto_pub` example to work with example code.
1 parent 35a6b3d commit ba09360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_components/switch.mqtt.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ switch:
7171
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:
7272

7373
```bash
74-
$ mosquitto_pub -h 127.0.0.1 -t home/bedroom/switch1set -m "ON"
74+
$ mosquitto_pub -h 127.0.0.1 -t home/bedroom/switch1 -m "ON"
7575
```

0 commit comments

Comments
 (0)