Franck Nijhof 1833c32a2c Cleans up front matter (#9835)
* Sets front matter defaults

* Removes default front matter from section templates/pages

* Removes default front matter from addon pages

* Removes default front matter from integration pages

* Removes default front matter from posts

* Removes default front matter from docs pages

* Removes default front matter from other pages

* Fixes blog category pages
2019-07-11 14:35:08 -07:00

1.9 KiB

title, description, logo, ha_category, ha_iot_class, ha_release, redirect_from
title description logo ha_category ha_iot_class ha_release redirect_from
NMBS Sensor Instructions on how to integrate timetable data for traveling on the NMBS Belgian Railway within Home Assistant. sncb_nmbs.gif
Transport
Cloud Polling 0.85
/components/sensor.nmbs/

The nmbs platform will create sensors for monitoring travel time and information between 2 stations.

Configuration

To enable this sensor, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
sensor:
  - platform: nmbs
    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 which this integration uses internally.

{% configuration %} station_from: description: The station where the connection departs. required: true type: string station_to: description: The station where the connection arrives. required: true type: string 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 %}

Example using the Lovelace Attributes card