From 9c875f54a4452f4ee46b4e9618dca09b97af9eab Mon Sep 17 00:00:00 2001 From: Brian J King Date: Wed, 1 Mar 2017 01:56:44 -0600 Subject: [PATCH] Remove extra backticks for syntax rendering (#2146) * Remove extra backticks for syntax rendering It looks like 2 out of the 3 example configs are incorrect on this page. This should fix them. * Remove more backticks --- source/_components/device_tracker.gpslogger.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/_components/device_tracker.gpslogger.markdown b/source/_components/device_tracker.gpslogger.markdown index e49430a54b4..d0f92db962b 100644 --- a/source/_components/device_tracker.gpslogger.markdown +++ b/source/_components/device_tracker.gpslogger.markdown @@ -27,7 +27,7 @@ device_tracker: To configure GPSLogger, you must set up the app to send a `GET` request to your Home Assistant server at ```yaml -`http:///api/gpslogger?latitude=%LAT&longitude=%LON&device=%SER&accuracy=%ACC&battery=%BATT&speed=%SPD&direction=%DIR&altitude=%ALT&provider=%PROV&activity=%ACT` +http:///api/gpslogger?latitude=%LAT&longitude=%LON&device=%SER&accuracy=%ACC&battery=%BATT&speed=%SPD&direction=%DIR&altitude=%ALT&provider=%PROV&activity=%ACT ``` . Make sure to include the API password if you have configured a password in Home Assistant (add `&api_password=` to the end of the URL). Configure that options under "General Options": @@ -40,8 +40,9 @@ Set the URL under "General Options -> Logging details": - Log to KML: no - Log to custom URL: yes and set ```yaml -`http:///api/gpslogger?latitude=%LAT&longitude=%LON&device=%SER&accuracy=%ACC&battery=%BATT&speed=%SPD&direction=%DIR&altitude=%ALT&provider=%PROV&activity=%ACT` (be sure you include API password (`&api_password=`) if needed, or you can also use HTTP Basic authentication `http://:@/api/gpslogger...`) +http:///api/gpslogger?latitude=%LAT&longitude=%LON&device=%SER&accuracy=%ACC&battery=%BATT&speed=%SPD&direction=%DIR&altitude=%ALT&provider=%PROV&activity=%ACT ``` +(be sure you include API password (`&api_password=`) if needed, or you can also use HTTP Basic authentication `http://:@/api/gpslogger...`) - Log to OpenGTS Server: no - Log to Plain Text: no - Log to NMEA: no