Site updated at 2017-12-19 19:18:23 UTC

This commit is contained in:
Travis CI 2017-12-19 19:18:23 +00:00
parent 4b882eca8c
commit 612f2f68f3
27 changed files with 71 additions and 69 deletions

View file

@ -80,6 +80,7 @@
<p>Hook provides a simple <a href="https://app.swaggerhub.com/api/rahilj/GetHook_RestAPI/v1">REST API</a>. This Home Assistant component reads in devices that have been set up in the official app.</p>
<p>Configure with either your username/password or your API token for the official app.</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">switch</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">hook</span>
<span class="s">username</span><span class="pi">:</span> <span class="s">&lt;email address&gt;</span>
<span class="s">password</span><span class="pi">:</span> <span class="kt">!secret</span> <span class="s">hook</span>
@ -87,6 +88,7 @@
</div>
<p>Or</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">switch</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">hook</span>
<span class="s">token</span><span class="pi">:</span> <span class="s">&lt;your API token&gt;</span>
</code></pre>