Site updated at 2017-04-27 07:18:46 UTC

This commit is contained in:
Travis CI 2017-04-27 07:18:46 +00:00
parent b83fe5a41a
commit 99ab957ddc
25 changed files with 39 additions and 39 deletions

View file

@ -155,7 +155,7 @@
<span class="s">entity_id</span><span class="pi">:</span> <span class="s">input_boolean.notify</span>
</code></pre>
</div>
<p>The automation example below shows how to send a command via the harmony remote using the <code class="highlighter-rouge">send_command</code> service to send the Pause command to the hub, which is already defined as an IR code for each device to be used via the Harmony app. It is checking for the activity name as exposed through the sensor in the harmony remote component using Jinga if statements to set the device_id, sending the correct Pause command for the given activity. This requires checking your activity list and device_id from the <code class="highlighter-rouge">harmony_REMOTENAME.conf</code> file created when you start the component. In this example, the harmony hub is named bedroom.</p>
<p>The automation example below shows how to send a command via the harmony remote using the <code class="highlighter-rouge">send_command</code> service to send the Pause command to the hub, which is already defined as an IR code for each device to be used via the Harmony app. It is checking for the activity name as exposed through the sensor in the harmony remote component using Jinja if statements to set the device_id, sending the correct Pause command for the given activity. This requires checking your activity list and device_id from the <code class="highlighter-rouge">harmony_REMOTENAME.conf</code> file created when you start the component. In this example, the harmony hub is named bedroom.</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">automation</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">alias</span><span class="pi">:</span> <span class="s">Harmony Pause contextual for activity</span>
<span class="s">trigger</span><span class="pi">:</span>