mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-26 22:37:36 +00:00

* 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
813 B
813 B
title | description | ha_category | logo | ha_iot_class | ha_release | redirect_from | ||
---|---|---|---|---|---|---|---|---|
GTT | Instructions on how to integrate timetable data for a GTT stop within Home Assistant. |
|
gtt.png | Cloud Polling | 0.85 |
|
The gtt
sensor will give you the departure time of the next bus at the given stop.
To enable this sensor, add the following lines to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
- platform: gtt
stop: '1080'
bus_name: '58B'
{% configuration %} stop: description: The name of the stop. required: true type: string bus_name: description: The name of the choosen bus. required: false type: string {% endconfiguration %}
The data is coming from the gtt.to.it website.