Skip to content

Commit 807a15e

Browse files
eliseomartellicgarwood
authored andcommitted
Added GTT Sensor documentation (home-assistant#7504)
* Added GTT Sensor documentation * Update sensor.gtt.markdown
1 parent 53db694 commit 807a15e

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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.
71.4 KB
Loading

0 commit comments

Comments
 (0)