Site updated at 2017-03-08 03:31:47 UTC
This commit is contained in:
parent
475ee10cf7
commit
2ef442104d
24 changed files with 46 additions and 46 deletions
|
@ -94,7 +94,7 @@
|
|||
|
||||
<p>In Home Assistant 0.19 we introduced a new powerful feature: variables in scripts and automations. This makes it possible to adjust your condition and action based on the information of the trigger.</p>
|
||||
|
||||
<p>The trigger data made is available during <a href="/configuration/templating/">template</a> rendering as the <code class="highlighter-rouge">trigger</code> variable.</p>
|
||||
<p>The trigger data made is available during <a href="/docs/configuration/templating/">template</a> rendering as the <code class="highlighter-rouge">trigger</code> variable.</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entries</span>
|
||||
<span class="s">automation</span><span class="pi">:</span>
|
||||
|
@ -221,11 +221,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><code class="highlighter-rouge">trigger.from_state</code></td>
|
||||
<td>The previous <a href="/configuration/state_object/">state object</a> of the entity.</td>
|
||||
<td>The previous <a href="/docs/configuration/state_object/">state object</a> of the entity.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code class="highlighter-rouge">trigger.to_state</code></td>
|
||||
<td>The new <a href="/configuration/state_object/">state object</a> that triggered trigger.</td>
|
||||
<td>The new <a href="/docs/configuration/state_object/">state object</a> that triggered trigger.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -250,11 +250,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><code class="highlighter-rouge">trigger.from_state</code></td>
|
||||
<td>The previous <a href="/configuration/state_object/">state object</a> of the entity.</td>
|
||||
<td>The previous <a href="/docs/configuration/state_object/">state object</a> of the entity.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code class="highlighter-rouge">trigger.to_state</code></td>
|
||||
<td>The new <a href="/configuration/state_object/">state object</a> that triggered trigger.</td>
|
||||
<td>The new <a href="/docs/configuration/state_object/">state object</a> that triggered trigger.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code class="highlighter-rouge">trigger.for</code></td>
|
||||
|
@ -308,11 +308,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><code class="highlighter-rouge">trigger.from_state</code></td>
|
||||
<td>Previous <a href="/configuration/state_object/">state object</a> of entity that caused change.</td>
|
||||
<td>Previous <a href="/docs/configuration/state_object/">state object</a> of entity that caused change.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code class="highlighter-rouge">trigger.to_state</code></td>
|
||||
<td>New <a href="/configuration/state_object/">state object</a> of entity that caused template to change.</td>
|
||||
<td>New <a href="/docs/configuration/state_object/">state object</a> of entity that caused template to change.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -358,11 +358,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td><code class="highlighter-rouge">trigger.from_state</code></td>
|
||||
<td>Previous <a href="/configuration/state_object/">state object</a> of the entity.</td>
|
||||
<td>Previous <a href="/docs/configuration/state_object/">state object</a> of the entity.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code class="highlighter-rouge">trigger.to_state</code></td>
|
||||
<td>New <a href="/configuration/state_object/">state object</a> of the entity.</td>
|
||||
<td>New <a href="/docs/configuration/state_object/">state object</a> of the entity.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code class="highlighter-rouge">trigger.zone</code></td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue