mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 20:36:52 +00:00
Added GTT Sensor documentation (#7504)
* Added GTT Sensor documentation * Update sensor.gtt.markdown
This commit is contained in:
parent
53db6947e9
commit
807a15e8bd
39
source/_components/sensor.gtt.markdown
Normal file
39
source/_components/sensor.gtt.markdown
Normal file
@ -0,0 +1,39 @@
|
||||
---
|
||||
layout: page
|
||||
title: "GTT"
|
||||
description: "Instructions on how to integrate timetable data for a GTT stop within Home Assistant."
|
||||
date: 2018-11-13 12:09
|
||||
sidebar: true
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
ha_category: Transport
|
||||
logo: gtt.png
|
||||
ha_iot_class: "Cloud Polling"
|
||||
ha_release: 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:
|
||||
|
||||
```yaml
|
||||
# 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](http://www.gtt.to.it/cms/) website.
|
BIN
source/images/supported_brands/gtt.png
Normal file
BIN
source/images/supported_brands/gtt.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
Loading…
x
Reference in New Issue
Block a user