Site updated at 2017-12-19 19:18:23 UTC
This commit is contained in:
parent
4b882eca8c
commit
612f2f68f3
27 changed files with 71 additions and 69 deletions
|
@ -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"><email address></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"><your API token></span>
|
||||
</code></pre>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue