Fix link to MQTT testing (#2462)
URL changed after docs reorganization.
This commit is contained in:
parent
e94e897ba1
commit
a4af4d5dfa
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ A motion detection device which can be represented by a [binary sensor](/compone
|
||||||
- State topic: `homeassistant/binary_sensor/garden/state`
|
- State topic: `homeassistant/binary_sensor/garden/state`
|
||||||
- Payload: `{"name": "garden", "device_class": "motion"}`
|
- Payload: `{"name": "garden", "device_class": "motion"}`
|
||||||
|
|
||||||
To create a new sensor manually. For more details please refer to the [MQTT testing section](/component/mqtt_testing).
|
To create a new sensor manually. For more details please refer to the [MQTT testing section](/docs/mqtt/testing/).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ mosquitto_pub -h 127.0.0.1 -p 1883 -t "homeassistant/binary_sensor/garden/config" -m '{"name": "garden", "device_class": "motion"}'
|
$ mosquitto_pub -h 127.0.0.1 -p 1883 -t "homeassistant/binary_sensor/garden/config" -m '{"name": "garden", "device_class": "motion"}'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue