diff --git a/source/_components/device_tracker.mqtt.markdown b/source/_components/device_tracker.mqtt.markdown index 7c0eed7d1d4..2019f1ef573 100644 --- a/source/_components/device_tracker.mqtt.markdown +++ b/source/_components/device_tracker.mqtt.markdown @@ -31,3 +31,12 @@ Configuration variables: - **devices** (*Required*): List of devices with their topic. - **qos** (*Optional*): The QoS level of the topic. + +Example JSON you can publish to the topic (e.g. via mqtt.publish service): + +```json +{ + "topic": "/location/paulus", + "payload": "home" +} +```