mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-12 20:06:52 +00:00
parent
0714c45105
commit
4e2dc6b72b
@ -75,10 +75,10 @@ Find the name of your stop in the list and the "id" is the one you are looking f
|
|||||||
## Direction
|
## Direction
|
||||||
|
|
||||||
If you use the `direction` filter it's important to put correct final destination(s) or else the sensor will not work at all.
|
If you use the `direction` filter it's important to put correct final destination(s) or else the sensor will not work at all.
|
||||||
The `direction` has to be the final destination(s) for the `Departure type` - ***NOT the stop where you want to get off***.
|
The `direction` has to be the scheduled final destination (direction) for the `Departure type` - ***NOT the stop where you want to get off***.
|
||||||
|
|
||||||
- Replace YOUR_STOP_ID with the id for your stop and go to [http://xmlopen.rejseplanen.dk/bin/rest.exe/departureBoard?id=YOUR_STOP_ID](http://xmlopen.rejseplanen.dk/bin/rest.exe/departureBoard?id=YOUR_STOP_ID)
|
- Replace YOUR_STOP_ID with the id for your stop and go to [http://xmlopen.rejseplanen.dk/bin/rest.exe/departureBoard?id=YOUR_STOP_ID](http://xmlopen.rejseplanen.dk/bin/rest.exe/departureBoard?id=YOUR_STOP_ID)
|
||||||
- The values under `finalStop` is the ones you need to put under `direction`. Make sure you use the exact name and insert all possible finalstops.
|
- The values under `direction` is the ones you need to put under `direction`. Make sure you use the exact name, and add all that apply.
|
||||||
|
|
||||||
You will see an output like this:
|
You will see an output like this:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user