mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
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.
This commit is contained in:
parent
96b96318b2
commit
50357bbac9
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user