diff --git a/atom.xml b/atom.xml
index 892f7a8900..5f1ed32c05 100644
--- a/atom.xml
+++ b/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/announcements/atom.xml b/blog/categories/announcements/atom.xml
index 82a9608a8d..3a37c03fae 100644
--- a/blog/categories/announcements/atom.xml
+++ b/blog/categories/announcements/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml
index 984c433922..3a3fc611a6 100644
--- a/blog/categories/community/atom.xml
+++ b/blog/categories/community/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml
index 05df4a5669..769d0e1e09 100644
--- a/blog/categories/device-tracking/atom.xml
+++ b/blog/categories/device-tracking/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml
index af671dc9bc..3c5cebcf69 100644
--- a/blog/categories/esp8266/atom.xml
+++ b/blog/categories/esp8266/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml
index 327c734a3c..1064529a79 100644
--- a/blog/categories/how-to/atom.xml
+++ b/blog/categories/how-to/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml
index b0879591c5..e829f28b64 100644
--- a/blog/categories/ibeacons/atom.xml
+++ b/blog/categories/ibeacons/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml
index 97be52fe54..04845ba56d 100644
--- a/blog/categories/internet-of-things/atom.xml
+++ b/blog/categories/internet-of-things/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml
index 94ac36eeba..9c680dc4ec 100644
--- a/blog/categories/iot-data/atom.xml
+++ b/blog/categories/iot-data/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/media/atom.xml b/blog/categories/media/atom.xml
index 4cfd1f3438..13b52d0896 100644
--- a/blog/categories/media/atom.xml
+++ b/blog/categories/media/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml
index 9e7f44c37d..163f67be0d 100644
--- a/blog/categories/merchandise/atom.xml
+++ b/blog/categories/merchandise/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml
index 54a8070b60..20df1917f6 100644
--- a/blog/categories/micropython/atom.xml
+++ b/blog/categories/micropython/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml
index 11d9813464..da86d5ff50 100644
--- a/blog/categories/mqtt/atom.xml
+++ b/blog/categories/mqtt/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml
index 0095dc0840..bd3af13ade 100644
--- a/blog/categories/organisation/atom.xml
+++ b/blog/categories/organisation/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml
index 58454a2141..832b727afa 100644
--- a/blog/categories/owntracks/atom.xml
+++ b/blog/categories/owntracks/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml
index 9f120a3edd..ca16adcb9c 100644
--- a/blog/categories/presence-detection/atom.xml
+++ b/blog/categories/presence-detection/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml
index 94b6dd25f9..e32a9844d3 100644
--- a/blog/categories/public-service-announcement/atom.xml
+++ b/blog/categories/public-service-announcement/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml
index 2ccf78d8b4..2492f314bc 100644
--- a/blog/categories/release-notes/atom.xml
+++ b/blog/categories/release-notes/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml
index fc27a9d21b..845b5a9b24 100644
--- a/blog/categories/survey/atom.xml
+++ b/blog/categories/survey/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml
index 03be779232..ca70219b8a 100644
--- a/blog/categories/talks/atom.xml
+++ b/blog/categories/talks/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml
index 185bbabec5..ee6673ef3a 100644
--- a/blog/categories/technology/atom.xml
+++ b/blog/categories/technology/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml
index f527a03aed..3c2cc03bb5 100644
--- a/blog/categories/user-stories/atom.xml
+++ b/blog/categories/user-stories/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml
index 8e33a85e6f..234f7f70df 100644
--- a/blog/categories/video/atom.xml
+++ b/blog/categories/video/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml
index cc4fc7e0c6..c3a1c02c47 100644
--- a/blog/categories/website/atom.xml
+++ b/blog/categories/website/atom.xml
@@ -4,7 +4,7 @@
- 2017-08-05T07:41:14+00:00
+ 2017-08-05T10:07:37+00:00
https://home-assistant.io/
diff --git a/components/sensor.vasttrafik/index.html b/components/sensor.vasttrafik/index.html
index 9b0107ae49..99903036f4 100644
--- a/components/sensor.vasttrafik/index.html
+++ b/components/sensor.vasttrafik/index.html
@@ -83,10 +83,7 @@
key: XXXXXXXXXXXXXXXXXXX
secret: YYYYYYYYYYYYYYYYY
departures:
- - name: Mot järntorget
- from: Musikvägen
- heading: Järntorget
- delay: 10
+ - from: Musikvägen
Configuration variables:
@@ -98,11 +95,24 @@
name (Optional): Name of the route.
from (Required): The start station.
heading (Optional): Direction of the travelling.
- delay (Optional): Delay in minutes.
+ delay (Optional): Delay in minutes. Defaults to 0.
The data are coming from Västtrafik.
+A full configuration example could look like this:
+# Example configuration.yaml entry
+sensor:
+ - platform: vasttrafik
+ key: XXXXXXXXXXXXXXXXXXX
+ secret: YYYYYYYYYYYYYYYYY
+ departures:
+ - name: Mot järntorget
+ from: Musikvägen
+ heading: Järntorget
+ delay: 10
+
+