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: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,11 @@ However, there have been reports of missing ATCO codes. Therefore alternatively,
61
61
62
62
You can setup the integration as many times as you like, with each time tracking a different stop and potential buses from that stop.
63
63
64
-
Each instance will create a single sensor in the form `sensor.first_bus_<<NAME_OF_SENSOR>>_next_bus`. This will provide the number of minutes until one of the specified buses (or any if none were specified) reach the bus stop. The following attributes are available in addition
64
+
Each instance will create a single sensor in the form `sensor.first_bus_<<NAME_OF_SENSOR>>_next_bus`. This will provide the number of minutes until one of the specified buses (or any if no specific buses were specified) reach the bus stop. If there is no known next bus, then `none`/`unknown` will be returned.
65
+
66
+
The sensor will pull the latest times for the stop every **5 minutes**. This is done so that the unofficial API isn't hammered and support is taken away, and I felt 5 minutes was long enough so that information wasn't too stale. This means that there is a chance that the time won't reflect the times on the app/website if they are updated within this 5 minute timeframe.
67
+
68
+
The following attributes are available in addition
65
69
66
70
| Attribute | Notes |
67
71
|-----------|-------|
@@ -70,4 +74,4 @@ Each instance will create a single sensor in the form `sensor.first_bus_<<NAME_O
70
74
|`Due`| The timestamp of when the next bus is due, in ISO format |
71
75
|`IsFG`| Determines if the bus is a First bus (`Y`) or not (`N`) |
72
76
|`IsLive`| Determines if the bus is being tracked (`Y`) or is from the timetable (`N`) |
73
-
|`stop`| The ATCO code of the bus stop that is being tracked |
77
+
|`stop`| The ATCO code of the bus stop that is being tracked |
0 commit comments