This is a sensor component for HomeAssistant.
Copy this folder to <config_dir>/custom_components/verbund_linie/
.
Add the following to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
sensor:
- platform: verbund_linie
name: Krenngasse
stopid: 'at:46:3171'
# Optional field, if set only this line will be shown
line: 3
# Optional field, maximum stop event that will be fetched, default is 10
max_results: 3
# this url of the api endpoint
# The url is not public and the license prohibits the redistribution of the url. You can request access for free by sending a email to Verbund Linie. See the FAQ at https://www.verbundlinie.at/fahrplan/rund-um-den-fahrplan/link-zum-fahrplan# (only in german)
api_endpoint: api_enpoint_url