mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Update device_tracker.mqtt.markdown (#5648)
Topic in json should match the topic in the configuration.yaml. So either remove the / in the json, or add it in the config
This commit is contained in:
parent
9165af069c
commit
5d1668f429
@ -36,7 +36,7 @@ Example JSON you can publish to the topic (e.g., via mqtt.publish service):
|
||||
|
||||
```json
|
||||
{
|
||||
"topic": "/location/paulus",
|
||||
"topic": "location/paulus",
|
||||
"payload": "home"
|
||||
}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user