Site updated at 2017-10-21 23:33:52 UTC

This commit is contained in:
Travis CI 2017-10-21 23:33:53 +00:00
parent b95006b9eb
commit a6fbc15960
1416 changed files with 21669 additions and 4045 deletions

View file

@ -23,7 +23,7 @@
<meta name="twitter:title" content="AirVisual">
<meta name="twitter:description" content="Instructions on how to use AirVisual data within Home Assistant">
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
<link href="/stylesheets/screen.css" media="screen, projection, print" rel="stylesheet">
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
<link rel='shortcut icon' href='/images/favicon.ico' />
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
@ -100,6 +100,7 @@ following lines to your <code class="highlighter-rouge">configuration.yaml</code
<span class="s">latitude</span><span class="pi">:</span> <span class="s">42.81212</span>
<span class="s">longitude</span><span class="pi">:</span> <span class="s">108.12422</span>
<span class="s">radius</span><span class="pi">:</span> <span class="s">500</span>
<span class="s">show_on_map</span><span class="pi">:</span> <span class="s">false</span>
</code></pre>
</div>
<p>Configuration variables:</p>
@ -113,6 +114,8 @@ defined under the <code class="highlighter-rouge">homeassistant</code> key in <c
defined under the <code class="highlighter-rouge">homeassistant</code> key in <code class="highlighter-rouge">configuration.yaml</code> will be used</li>
<li><strong>radius</strong> (<em>Optional</em>): the radius (in meters) around the latitude/longitude to
search for the nearest city; defaults to <code class="highlighter-rouge">1000</code></li>
<li><strong>show_on_map</strong> (<em>Optional</em>): whether to show a marker on the map at the specified
location; defaults to <code class="highlighter-rouge">true</code></li>
</ul>
<h2><a class="title-link" name="configuring-the-platform-via-citystatecountry" href="#configuring-the-platform-via-citystatecountry"></a> Configuring the Platform via City/State/Country</h2>
<p>To enable the platform and gather data via city/state/country, add the
@ -126,6 +129,7 @@ following lines to your <code class="highlighter-rouge">configuration.yaml</code
<span class="s">city</span><span class="pi">:</span> <span class="s">southend-on-sea</span>
<span class="s">state</span><span class="pi">:</span> <span class="s">essex</span>
<span class="s">country</span><span class="pi">:</span> <span class="s">uk</span>
<span class="s">show_on_map</span><span class="pi">:</span> <span class="s">false</span>
</code></pre>
</div>
<p>Configuration variables:</p>
@ -136,6 +140,8 @@ following lines to your <code class="highlighter-rouge">configuration.yaml</code
<li><strong>city</strong> (<em>Optional</em>): the city to monitor</li>
<li><strong>state</strong> (<em>Optional</em>): the state/region to monitor</li>
<li><strong>country</strong> (<em>Optional</em>): the country to monitor</li>
<li><strong>show_on_map</strong> (<em>Optional</em>): whether to show a marker on the map at the specified
location; defaults to <code class="highlighter-rouge">true</code></li>
</ul>
<p>To easily determine the proper values for a particular location, use the
<a href="https://airvisual.com/world">AirVisual region directory</a>. Once you browse to the particular city you want,