mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-28 03:37:06 +00:00
Update Dublin bus transport sensor component configuration (#7136)
This commit is contained in:
parent
c6d02b401f
commit
62ed2888ee
@ -13,7 +13,6 @@ ha_iot_class: "Cloud Polling"
|
|||||||
ha_release: 0.36
|
ha_release: 0.36
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
The `dublin_bus_transport` sensor will give you the time until the next two departures from a Dublin bus stop using the RTPI information.
|
The `dublin_bus_transport` sensor will give you the time until the next two departures from a Dublin bus stop using the RTPI information.
|
||||||
|
|
||||||
The [Dublin Bus](https://www.dublinbus.ie/RTPI/) website can help to determine the id of your bus stop. You can check if this is correct by going to
|
The [Dublin Bus](https://www.dublinbus.ie/RTPI/) website can help to determine the id of your bus stop. You can check if this is correct by going to
|
||||||
@ -29,10 +28,20 @@ sensor:
|
|||||||
stopid: STOP_ID
|
stopid: STOP_ID
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
stopid:
|
||||||
- **stopid** (*Required*): The ID of the bus stop to get the information for.
|
description: The ID of the bus stop to get the information for.
|
||||||
- **route** (*Optional*): Only show a single bus route at the stop. This is the same as the bus number, e.g., `83`.
|
required: true
|
||||||
- **name** (*Optional*): A friendly name for this sensor.
|
type: string
|
||||||
|
route:
|
||||||
|
description: Only show a single bus route at the stop. This is the same as the bus number, e.g., `83`.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
description: A friendly name for this sensor.
|
||||||
|
required: false
|
||||||
|
default: Next Bus
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
The public RTPI information is coming from [Dub Linked](https://data.dublinked.ie/).
|
The public RTPI information is coming from [Dub Linked](https://data.dublinked.ie/).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user