You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/sensor.vasttrafik.markdown
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,6 @@ ha_iot_class: "Cloud Polling"
13
13
ha_release: "0.30"
14
14
---
15
15
16
-
17
16
The `vasttrafik` sensor will provide you traveling details for the larger Göteborg area in Sweden from the [Västtrafik](https://vasttrafik.se/) public transportation service.
18
17
19
18
You must create an application [here](https://developer.vasttrafik.se/portal/#/applications) to obtain a `key` and a `secret`.
@@ -34,10 +33,11 @@ Configuration variables:
34
33
35
34
- **key** (*Required*): The API key to access your Västtrafik account.
36
35
- **secret** (*Required*): The API secret to access your Västtrafik account.
37
-
- **departures** array (*Required*): List of traveling routes.
36
+
- **departures** array (*Required*): List of travel routes.
38
37
- **name** (*Optional*): Name of the route.
39
38
- **from** (*Required*): The start station.
40
39
- **heading** (*Optional*): Direction of the traveling.
40
+
- **lines** (*Optional*): Only consider these lines.
41
41
- **delay** (*Optional*): Delay in minutes. Defaults to 0.
42
42
43
43
The data are coming from [Västtrafik](https://vasttrafik.se/).
0 commit comments