Site updated at 2015-12-19 17:29:41 UTC

This commit is contained in:
Paulus Schoutsen 2015-12-19 09:29:41 -08:00
parent 5ddb1dac36
commit 45020579c3
259 changed files with 5974 additions and 4067 deletions

View file

@ -23,7 +23,8 @@
<meta property="og:image" content="https://home-assistant.io/images/home-assistant-logo-2164x2164.png">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@balloob">
<meta name="twitter:site" content="@home_assistant">
<meta name="twitter:title" content="RESTful switch">
<meta name="twitter:description" content="Instructions how to integrate REST switches into Home Assistant.">
<meta name="twitter:image" content="https://home-assistant.io/images/home-assistant-logo-2164x2164.png">
@ -104,7 +105,7 @@
</header>
<hr class="divider">
<p>The rest switch platform allows you to control a given endpoint that supports a <a href="https://en.wikipedia.org/wiki/Representational_state_transfer">RESTful API</a>. The switch can get the state via GET and set the state via POST on a given REST resource.</p>
<p>The <code>rest</code> switch platform allows you to control a given endpoint that supports a <a href="https://en.wikipedia.org/wiki/Representational_state_transfer">RESTful API</a>. The switch can get the state via GET and set the state via POST on a given REST resource.</p>
<p>To enable this switch, add the following lines to your <code>configuration.yaml</code> file:</p>
@ -154,6 +155,9 @@ Make sure that the URL matches exactly your endpoint or resource.
<div class='section'>
<h1 class='title delta'>Related components</h1>
<ul class='divided'>
<li><a href='/components/binary_sensor.rest/'>
RESTful binary sensor
</a></li>
<li><a href='/components/sensor.rest/'>
RESTful sensor
</a></li>
@ -221,9 +225,15 @@ Make sure that the URL matches exactly your endpoint or resource.
<div class="grid-wrapper">
<div class="grid">
<div class="grid__item">
<p class="copyright">
<span class="credit">Powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
</p>
<div class="copyright">
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
<a rel="me" href='https://github.com/balloob/home-assistant'><i class="icon-github"></i></a>
<div class="credit">
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
</div>
</div>
</div>
</div>
</div>