Site updated at 2017-05-28 17:40:24 UTC
This commit is contained in:
parent
35e2b7fbc4
commit
af7b503546
25 changed files with 43 additions and 42 deletions
2
atom.xml
2
atom.xml
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Home Assistant]]></title>
|
<title><![CDATA[Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Announcements | Home Assistant]]></title>
|
<title><![CDATA[Category: Announcements | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/announcements/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/announcements/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Community | Home Assistant]]></title>
|
<title><![CDATA[Category: Community | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/community/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/community/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Device-Tracking | Home Assistant]]></title>
|
<title><![CDATA[Category: Device-Tracking | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/device-tracking/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/device-tracking/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: ESP8266 | Home Assistant]]></title>
|
<title><![CDATA[Category: ESP8266 | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/esp8266/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/esp8266/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: How-To | Home Assistant]]></title>
|
<title><![CDATA[Category: How-To | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/how-to/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/how-to/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: iBeacons | Home Assistant]]></title>
|
<title><![CDATA[Category: iBeacons | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/ibeacons/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/ibeacons/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Internet-of-Things | Home Assistant]]></title>
|
<title><![CDATA[Category: Internet-of-Things | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/internet-of-things/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/internet-of-things/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: IoT-Data | Home Assistant]]></title>
|
<title><![CDATA[Category: IoT-Data | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/iot-data/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/iot-data/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Merchandise | Home Assistant]]></title>
|
<title><![CDATA[Category: Merchandise | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/merchandise/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/merchandise/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Micropython | Home Assistant]]></title>
|
<title><![CDATA[Category: Micropython | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/micropython/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/micropython/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: MQTT | Home Assistant]]></title>
|
<title><![CDATA[Category: MQTT | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/mqtt/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/mqtt/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Organisation | Home Assistant]]></title>
|
<title><![CDATA[Category: Organisation | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/organisation/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/organisation/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: OwnTracks | Home Assistant]]></title>
|
<title><![CDATA[Category: OwnTracks | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/owntracks/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/owntracks/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Presence-Detection | Home Assistant]]></title>
|
<title><![CDATA[Category: Presence-Detection | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/presence-detection/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/presence-detection/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Public-Service-Announcement | Home Assistant]]></title>
|
<title><![CDATA[Category: Public-Service-Announcement | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/public-service-announcement/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/public-service-announcement/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Release-Notes | Home Assistant]]></title>
|
<title><![CDATA[Category: Release-Notes | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/release-notes/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/release-notes/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Survey | Home Assistant]]></title>
|
<title><![CDATA[Category: Survey | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/survey/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/survey/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Talks | Home Assistant]]></title>
|
<title><![CDATA[Category: Talks | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/talks/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/talks/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Technology | Home Assistant]]></title>
|
<title><![CDATA[Category: Technology | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/technology/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/technology/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: User-Stories | Home Assistant]]></title>
|
<title><![CDATA[Category: User-Stories | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/user-stories/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/user-stories/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Video | Home Assistant]]></title>
|
<title><![CDATA[Category: Video | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/video/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/video/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title><![CDATA[Category: Website | Home Assistant]]></title>
|
<title><![CDATA[Category: Website | Home Assistant]]></title>
|
||||||
<link href="https://home-assistant.io/blog/categories/website/atom.xml" rel="self"/>
|
<link href="https://home-assistant.io/blog/categories/website/atom.xml" rel="self"/>
|
||||||
<link href="https://home-assistant.io/"/>
|
<link href="https://home-assistant.io/"/>
|
||||||
<updated>2017-05-28T16:52:16+00:00</updated>
|
<updated>2017-05-28T17:32:41+00:00</updated>
|
||||||
<id>https://home-assistant.io/</id>
|
<id>https://home-assistant.io/</id>
|
||||||
<author>
|
<author>
|
||||||
<name><![CDATA[Home Assistant]]></name>
|
<name><![CDATA[Home Assistant]]></name>
|
||||||
|
|
|
@ -78,9 +78,9 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>resource</strong> (<em>Required</em>): The resource or endpoint that contains the value.</li>
|
<li><strong>resource</strong> (<em>Required</em>): The resource or endpoint that contains the value.</li>
|
||||||
<li><strong>name</strong> (<em>Optional</em>): Name of the REST switch.</li>
|
<li><strong>name</strong> (<em>Optional</em>): Name of the REST switch.</li>
|
||||||
<li><strong>body_on</strong> (<em>Optional</em>): The body of the POST request that commands the switch to become enabled. Default is “ON”. This value can be a <a href="/topics/templating/">template</a>, which is useful if the POST request needs to depend on the state of the system. For example, to enable remote-temperature-sensor tracking on a radio thermostat, one has to send the current value of the remote temperature sensor. On can achieve this using the template <code class="highlighter-rouge">'{"rem_temp":}'</code>.</li>
|
<li><strong>body_on</strong> (<em>Optional</em>): The body of the POST request that commands the switch to become enabled. Default is “ON”. This value can be a <a href="/topics/templating/">template</a>.</li>
|
||||||
<li><strong>body_off</strong> (<em>Optional</em>): The body of the POST request that commands the switch to become disabled. Default is “OFF”. This value can also be a template.</li>
|
<li><strong>body_off</strong> (<em>Optional</em>): The body of the POST request that commands the switch to become disabled. Default is “OFF”. This value can also be a <a href="/topics/templating/">template</a>.</li>
|
||||||
<li><strong>is_on_template</strong> (<em>Optional</em>): A <a href="/topics/templating/">template</a> that determines the state of the switch from the value returned by the GET request on the resource url. This template should compute to a boolean (True or False). If the value is valid JSON, it will be available in the template as the variable value_json. See <a href="/docs/configuration/templating/#processing-incoming-data">this example</a> in the template docs. Default is equivalent to <code class="highlighter-rouge">'{{ value_json == body_on }}'</code>. This means that by default, the state of the switch is on if and only if the response to the GET request matches <code class="highlighter-rouge">body_on</code>.</li>
|
<li><strong>is_on_template</strong> (<em>Optional</em>): A <a href="/topics/templating/">template</a> that determines the state of the switch from the value returned by the GET request on the resource URL. This template should compute to a boolean (True or False). If the value is valid JSON, it will be available in the template as the variable <code class="highlighter-rouge">value_json</code>. See <a href="/docs/configuration/templating/#processing-incoming-data">this example</a> in the template documentation. Default is equivalent to <code class="highlighter-rouge">'{{ value_json == body_on }}'</code>. This means that by default, the state of the switch is on if and only if the response to the GET request matches .</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p class="note warning">
|
<p class="note warning">
|
||||||
Make sure that the URL matches exactly your endpoint or resource.
|
Make sure that the URL matches exactly your endpoint or resource.
|
||||||
|
@ -93,12 +93,13 @@ Make sure that the URL matches exactly your endpoint or resource.
|
||||||
</div>
|
</div>
|
||||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">switch</span><span class="pi">:</span>
|
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><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">rest</span>
|
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">rest</span>
|
||||||
<span class="s">resource</span><span class="pi">:</span> <span class="s">http://<address>/led_endpoint</span>
|
<span class="s">resource</span><span class="pi">:</span> <span class="s">http://IP_ADDRESS/led_endpoint</span>
|
||||||
<span class="s">body_on</span><span class="pi">:</span> <span class="s1">'</span><span class="s">{"active":</span><span class="nv"> </span><span class="s">"true"}'</span>
|
<span class="s">body_on</span><span class="pi">:</span> <span class="s1">'</span><span class="s">{"active":</span><span class="nv"> </span><span class="s">"true"}'</span>
|
||||||
<span class="s">body_off</span><span class="pi">:</span> <span class="s1">'</span><span class="s">{"active":</span><span class="nv"> </span><span class="s">"false"}'</span>
|
<span class="s">body_off</span><span class="pi">:</span> <span class="s1">'</span><span class="s">{"active":</span><span class="nv"> </span><span class="s">"false"}'</span>
|
||||||
<span class="s">is_on_template</span><span class="pi">:</span> <span class="s1">'</span><span class="s">{{value_json.is_active}}'</span>
|
<span class="s">is_on_template</span><span class="pi">:</span> <span class="s1">'</span><span class="s">{{value_json.is_active}}'</span>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
</div>
|
</div>
|
||||||
|
<p><code class="highlighter-rouge">body_on</code> and <code class="highlighter-rouge">body_off</code> can also depend on the state of the system. For example, to enable a remote temperature sensor tracking on a radio thermostat, one has to send the current value of the remote temperature sensor. This can be achieved by using the template <code class="highlighter-rouge">'{"rem_temp":}'</code>.</p>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||||
|
|
30
sitemap.xml
30
sitemap.xml
|
@ -3466,62 +3466,62 @@
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/frontend.html</loc>
|
<loc>https://home-assistant.io/demo/frontend.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:19+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/index.html</loc>
|
<loc>https://home-assistant.io/demo/index.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:19+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-event.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-event.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:19+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-info.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-info.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:19+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-service.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-service.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:19+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-state.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-state.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:19+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-template.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-template.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:19+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-history.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-history.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:19+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-iframe.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-iframe.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:19+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-logbook.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-logbook.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:19+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/demo/panels/ha-panel-map.html</loc>
|
<loc>https://home-assistant.io/demo/panels/ha-panel-map.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:19+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/googlef4f3693c209fe788.html</loc>
|
<loc>https://home-assistant.io/googlef4f3693c209fe788.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:19+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html</loc>
|
<loc>https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:20+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html</loc>
|
<loc>https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:20+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://home-assistant.io/static/mdi-demo.html</loc>
|
<loc>https://home-assistant.io/static/mdi-demo.html</loc>
|
||||||
<lastmod>2017-05-28T16:51:20+00:00</lastmod>
|
<lastmod>2017-05-28T17:31:02+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
</urlset>
|
</urlset>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue