Skip to content

Commit 14c13f1

Browse files
robmarkcolefabaff
authored andcommitted
Clarify get request (home-assistant#3115)
As per a query on the forum I have clarified the instructions for checking valid bus directions
1 parent d1c4d14 commit 14c13f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_components/sensor.uk_transport.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ stop you're interested in
8181
3. Tick the 'map data' layer, and wait for clickable objects to load
8282
4. Click the bus stop node to reveal its tags on the left
8383

84-
The `destination` must be a valid location returned by the transportAPI query. Valid destinations can be checked by performing a GET query to `/uk/bus/stop/{atcocode}/live.json` in the [API reference webpage](https://developer.transportapi.com/docs?raml=https://transportapi.com/v3/raml/transportapi.raml##bus_information). A bus sensor is added in the following `configuration.yaml` file entry:
84+
The `destination` must be a valid location in the "direction" field returned by a GET query to `/uk/bus/stop/{atcocode}/live.json` as described in the [API reference webpage](https://developer.transportapi.com/docs?raml=https://transportapi.com/v3/raml/transportapi.raml##bus_information). A bus sensor is added in the following `configuration.yaml` file entry:
8585

8686
```yaml
8787
# Example configuration.yaml entry for multiple sensors

0 commit comments

Comments
 (0)