From 50357bbac9a03a82659daf33d9e2bcd017462601 Mon Sep 17 00:00:00 2001 From: William Scanlon Date: Wed, 12 Dec 2018 03:24:23 -0500 Subject: [PATCH] Update device_tracker.gpslogger.markdown (#7805) While it makes it nicer to view, most people are probably going to copy and paste the URL from the site via their Android device and not type it all out. Having the line breaks results in %20 (or spaces) in the URL when sending to Home Assistant which doesn't work. Removing those spaces will make it easier for users to copy/paste. --- source/_components/device_tracker.gpslogger.markdown | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/_components/device_tracker.gpslogger.markdown b/source/_components/device_tracker.gpslogger.markdown index bf98c0b62ed..10889993651 100644 --- a/source/_components/device_tracker.gpslogger.markdown +++ b/source/_components/device_tracker.gpslogger.markdown @@ -68,10 +68,7 @@ Right after enabling, the app will take you to the **Log to custom URL** setting The relevant endpoint is: `/api/gpslogger` ```text -https://YOUR.DNS.HOSTNAME:PORT/api/gpslogger? - latitude=%LAT&longitude=%LON&device=%SER&accuracy=%ACC - &battery=%BATT&speed=%SPD&direction=%DIR - &altitude=%ALT&provider=%PROV&activity=%ACT +https://YOUR.DNS.HOSTNAME:PORT/api/gpslogger?latitude=%LAT&longitude=%LON&device=%SER&accuracy=%ACC&battery=%BATT&speed=%SPD&direction=%DIR&altitude=%ALT&provider=%PROV&activity=%ACT ``` Add the above URL after you modified it with your settings into the **URL** field. Remove the line breaks as they are only there to make the URL readable here.