Site updated at 2018-01-28 22:02:31 UTC
This commit is contained in:
parent
57a21e9eb0
commit
01b474f87c
268 changed files with 412 additions and 412 deletions
|
@ -252,7 +252,7 @@
|
|||
<span class="s">mode_state_template</span><span class="pi">:</span> <span class="s2">"</span><span class="s">{{</span><span class="nv"> </span><span class="s">value_json</span><span class="nv"> </span><span class="s">}}"</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>This will parse the incoming <code class="highlighter-rouge">"auto"</code> as JSON, resulting in <code class="highlighter-rouge">auto</code>. Obvisouly, in this case you could also just set <code class="highlighter-rouge">value_template: "{{ value_json }}"</code>.</p>
|
||||
<p>This will parse the incoming <code class="highlighter-rouge">"auto"</code> as JSON, resulting in <code class="highlighter-rouge">auto</code>. Obviously, in this case you could also just set <code class="highlighter-rouge">value_template: "{{ value_json }}"</code>.</p>
|
||||
<h3><a class="title-link" name="example" href="#example"></a> Example</h3>
|
||||
<p>A full configuration example looks like the one below.</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Full example configuration.yaml entry</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue