From 33336fb7c25e4badd0e745509bef38f0aec773dc Mon Sep 17 00:00:00 2001 From: Thibault Maekelbergh Date: Wed, 27 Feb 2019 00:08:33 +0100 Subject: [PATCH] Update new configuration options for sensor.nmbs (#8201) * Add docs * Update to use the standars * Update source/_components/sensor.nmbs.markdown Co-Authored-By: thibmaek * Update source/_components/sensor.nmbs.markdown Co-Authored-By: thibmaek * Update source/_components/sensor.nmbs.markdown Co-Authored-By: thibmaek * Update source/_components/sensor.nmbs.markdown Co-Authored-By: thibmaek * Update source/_components/sensor.nmbs.markdown Co-Authored-By: thibmaek * Update source/_components/sensor.nmbs.markdown Co-Authored-By: thibmaek * Update source/_components/sensor.nmbs.markdown Co-Authored-By: thibmaek * Update source/_components/sensor.nmbs.markdown Co-Authored-By: thibmaek * Add nmbs logo * Add note on where to find station identifiers * Update source/_components/sensor.nmbs.markdown Co-Authored-By: thibmaek * Change release version * Correct key * Update with new conf options for sensor.nmbs * :pencil2: Tweaks * :ambulance: Reverts ha_version change --- source/_components/sensor.nmbs.markdown | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/_components/sensor.nmbs.markdown b/source/_components/sensor.nmbs.markdown index 664588f99c8..34395044768 100644 --- a/source/_components/sensor.nmbs.markdown +++ b/source/_components/sensor.nmbs.markdown @@ -26,6 +26,7 @@ sensor: station_from: "STATION_1" station_to: "STATION_2" station_live: "STATION_1" + exclude_vias: true ``` The stations can only be provided by their standard names and not ids. The list of stations can be checked on the NMBS/SCNB website but for most accurate results check them on the [iRail API page](https://api.irail.be/stations/) which this component uses internally. @@ -43,9 +44,19 @@ station_live: description: Setting this will create another sensor to monitor the liveboard in a station. required: false type: string +exclude_vias: + description: Setting this will not show connections for which you have to transfer to another station. + required: false + type: boolean + default: false name: description: Name to use in the frontend. required: false type: string default: "`NMBS`, `NMBS Live` for the liveboard sensor when set." +show_on_map: + description: Show the station on the map. + required: false + type: boolean + default: false {% endconfiguration %}