File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : page
3
+ title : " GTT"
4
+ description : " Instructions on how to integrate timetable data for a GTT stop within Home Assistant."
5
+ date : 2018-11-13 12:09
6
+ sidebar : true
7
+ comments : false
8
+ sharing : true
9
+ footer : true
10
+ ha_category : Transport
11
+ logo : gtt.png
12
+ ha_iot_class : " Cloud Polling"
13
+ ha_release : 0.85
14
+ ---
15
+
16
+
17
+ The ` gtt ` sensor will give you the departure time of the next bus at the given stop.
18
+
19
+ To enable this sensor, add the following lines to your ` configuration.yaml ` file:
20
+
21
+ ``` yaml
22
+ # Example configuration.yaml entry
23
+ sensor :
24
+ - platform : gtt
25
+ stop : ' 1080'
26
+ bus_name : ' 58B'
27
+ ` ` `
28
+ {% configuration %}
29
+ stop:
30
+ description: The name of the stop.
31
+ required: true
32
+ type: string
33
+ bus_name:
34
+ description: The name of the choosen bus.
35
+ required: false
36
+ type: string
37
+ {% endconfiguration %}
38
+
39
+ The data is coming from the [gtt.to.it](http://www.gtt.to.it/cms/) website.
You can’t perform that action at this time.
0 commit comments