From a5a3a5073ec31c47c7f25805d557e4233bb551de Mon Sep 17 00:00:00 2001 From: Allan Persson <46043392+allanpersson@users.noreply.github.com> Date: Sat, 26 Oct 2019 14:11:39 +0200 Subject: [PATCH] Updating documentation (#10977) Still too many people on Danish facebook group have problems with the directions part, hope this makes it more clear to avoid empty sensors... --- source/_integrations/rejseplanen.markdown | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source/_integrations/rejseplanen.markdown b/source/_integrations/rejseplanen.markdown index 889ce969f05..6001fc31b2c 100644 --- a/source/_integrations/rejseplanen.markdown +++ b/source/_integrations/rejseplanen.markdown @@ -72,8 +72,11 @@ departure_type: ## Direction -If you use the `direction` filter it's important to put correct destination or else the sensor will not work at all. -The direction has to be the destination(s) for the transport type(s) for the departure stop destination, and NOT the stop where you want to get off. Check [https://rejseplanen.dk/](https://rejseplanen.dk/), make a search and use the destinations from there in your configuration. Make sure you use the exact name as the destination(s). +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***. + +- Check [https://rejseplanen.dk/](https://rejseplanen.dk/) +- Make a search and use **all variations** for the final destination(s) for the needed `Departure type` in your configuration under `direction`. Make sure you use the exact name for final destination(s). A working example on how to use this sensor with direction: @@ -98,7 +101,7 @@ sensor: - 'København H' ``` -It fails because the destination from the departure is NOT København H, but 'CPH Lufthavn', 'Helsingør St.' and others. +It fails because the final destination for the train from the departure station is NOT 'københavn H', but 'CPH Lufthavn' and 'Helsingør St.'. ## Examples