From dcfba6314ea19c77a6868970fa6f0c2f54b7ea1a Mon Sep 17 00:00:00 2001 From: Steffen Uhlig Date: Tue, 25 Oct 2022 14:06:56 +0200 Subject: [PATCH] Fix attributes topic (#24691) --- source/_integrations/device_tracker.mqtt.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/device_tracker.mqtt.markdown b/source/_integrations/device_tracker.mqtt.markdown index 419866f3051..38774b6e15b 100644 --- a/source/_integrations/device_tracker.mqtt.markdown +++ b/source/_integrations/device_tracker.mqtt.markdown @@ -276,7 +276,7 @@ mosquitto_pub -h 127.0.0.1 -t homeassistant/device_tracker/a4567d663eaf/config - To set the state of the device tracker to specific coordinates: ```bash -mosquitto_pub -h 127.0.0.1 -t a4567d663eaf/state -m '{"latitude": 32.87336, "longitude": -117.22743, "gps_accuracy": 1.2}' +mosquitto_pub -h 127.0.0.1 -t a4567d663eaf/attributes -m '{"latitude": 32.87336, "longitude": -117.22743, "gps_accuracy": 1.2}' ```