mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Update switch.mqtt.markdown (#1923)
Fix `mosquitto_pub` example to work with example code.
This commit is contained in:
parent
35a6b3d7ed
commit
ba09360ce4
@ -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"
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user