Site updated at 2018-01-25 17:33:45 UTC

This commit is contained in:
Travis CI 2018-01-25 17:33:45 +00:00
parent 2a429df2b2
commit 94552b64db
144 changed files with 304 additions and 301 deletions

View file

@ -8,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Västtrafik Public Transport - Home Assistant</title>
<meta name="author" content="Home Assistant">
<meta name="description" content="Instructions how to integrate timetable data for travelling in Sweden within Home Assistant.">
<meta name="description" content="Instructions how to integrate timetable data for traveling in Sweden within Home Assistant.">
<meta name="viewport" content="width=device-width">
<link rel="canonical" href="https://home-assistant.io/components/sensor.vasttrafik/">
<meta property="fb:app_id" content="338291289691179">
@ -16,12 +16,12 @@
<meta property="og:site_name" content="Home Assistant">
<meta property="og:url" content="https://home-assistant.io/components/sensor.vasttrafik/">
<meta property="og:type" content="article">
<meta property="og:description" content="Instructions how to integrate timetable data for travelling in Sweden within Home Assistant.">
<meta property="og:description" content="Instructions how to integrate timetable data for traveling in Sweden within Home Assistant.">
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@home_assistant">
<meta name="twitter:title" content="Västtrafik Public Transport">
<meta name="twitter:description" content="Instructions how to integrate timetable data for travelling in Sweden within Home Assistant.">
<meta name="twitter:description" content="Instructions how to integrate timetable data for traveling in Sweden within Home Assistant.">
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
<link href="/stylesheets/screen.css" media="screen, projection, print" rel="stylesheet">
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
@ -74,7 +74,7 @@
</h1>
</header>
<hr class="divider">
<p>The <code class="highlighter-rouge">vasttrafik</code> sensor will provide you travelling details for the larger Göteborg area in Sweden from the <a href="https://vasttrafik.se/">Västtrafik</a> public transportation service.</p>
<p>The <code class="highlighter-rouge">vasttrafik</code> sensor will provide you traveling details for the larger Göteborg area in Sweden from the <a href="https://vasttrafik.se/">Västtrafik</a> public transportation service.</p>
<p>You must create an application <a href="https://developer.vasttrafik.se/portal/#/applications">here</a> to obtain a <code class="highlighter-rouge">key</code> and a <code class="highlighter-rouge">secret</code>.</p>
<p>Add the data to your <code class="highlighter-rouge">configuration.yaml</code> file as shown in the example:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
@ -90,11 +90,11 @@
<ul>
<li><strong>key</strong> (<em>Required</em>): The API key to access your Västtrafik account.</li>
<li><strong>secret</strong> (<em>Required</em>): The API secret to access your Västtrafik account.</li>
<li><strong>departures</strong> array (<em>Required</em>): List of travelling routes.
<li><strong>departures</strong> array (<em>Required</em>): List of traveling routes.
<ul>
<li><strong>name</strong> (<em>Optional</em>): Name of the route.</li>
<li><strong>from</strong> (<em>Required</em>): The start station.</li>
<li><strong>heading</strong> (<em>Optional</em>): Direction of the travelling.</li>
<li><strong>heading</strong> (<em>Optional</em>): Direction of the traveling.</li>
<li><strong>delay</strong> (<em>Optional</em>): Delay in minutes. Defaults to 0.</li>
</ul>
</li>