From 5d1668f4296f53db8fb92cc38fdfcab473414417 Mon Sep 17 00:00:00 2001 From: Harm-Jan Roskam Date: Mon, 2 Jul 2018 19:56:00 +0200 Subject: [PATCH] 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 --- source/_components/device_tracker.mqtt.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/device_tracker.mqtt.markdown b/source/_components/device_tracker.mqtt.markdown index 3640b8ad5a4..cf8f006de1f 100644 --- a/source/_components/device_tracker.mqtt.markdown +++ b/source/_components/device_tracker.mqtt.markdown @@ -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" } ```