From 2e7912157b4547de958b547932d244690f5232ef Mon Sep 17 00:00:00 2001 From: Fabian Affolter <fabian@affolter-engineering.ch> Date: Fri, 23 Oct 2015 23:00:20 +0200 Subject: [PATCH] Remove configuration details --- .../sensor/swiss_public_transport.py | 26 ++----------------- 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/homeassistant/components/sensor/swiss_public_transport.py b/homeassistant/components/sensor/swiss_public_transport.py index 5a07b585430..8885e1184b7 100644 --- a/homeassistant/components/sensor/swiss_public_transport.py +++ b/homeassistant/components/sensor/swiss_public_transport.py @@ -4,30 +4,8 @@ homeassistant.components.sensor.swiss_public_transport The Swiss public transport sensor will give you the next two departure times from a given location to another one. This sensor is limited to Switzerland. -Configuration: - -To use the Swiss public transport sensor you will need to add something like -the following to your configuration.yaml file. - -sensor: - platform: swiss_public_transport - from: STATION_ID - to: STATION_ID - -Variables: - -from -*Required -Start station/stop of your trip. To search for the ID of the station, use the -an URL like this: http://transport.opendata.ch/v1/locations?query=Wankdorf -to query for the station. If the score is 100 ("score":"100" in the response), -it is a perfect match. - -to -*Required -Destination station/stop of the trip. Same procedure as for the start station. - -Details for the API : http://transport.opendata.ch +For more details about this platform, please refer to the documentation at +https://home-assistant.io/components/sensor.swiss_public_transport.html """ import logging from datetime import timedelta -- GitLab