mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
Update Dublin bus transport sensor component configuration (#7136)
This commit is contained in:
parent
c6d02b401f
commit
62ed2888ee
@ -13,10 +13,9 @@ ha_iot_class: "Cloud Polling"
|
||||
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](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
|
||||
|
||||
https://data.dublinked.ie/cgi-bin/rtpi/realtimebusinformation?stopid=[Stop ID]
|
||||
|
||||
@ -29,10 +28,20 @@ sensor:
|
||||
stopid: STOP_ID
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **stopid** (*Required*): 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`.
|
||||
- **name** (*Optional*): A friendly name for this sensor.
|
||||
{% configuration %}
|
||||
stopid:
|
||||
description: The ID of the bus stop to get the information for.
|
||||
required: true
|
||||
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/).
|
||||
|
Loading…
x
Reference in New Issue
Block a user