Site updated at 2017-08-26 17:54:49 UTC
This commit is contained in:
parent
45060d18c1
commit
35cd506e2c
29 changed files with 92 additions and 81 deletions
|
@ -75,7 +75,7 @@
|
|||
</header>
|
||||
<hr class="divider">
|
||||
<p>The <code class="highlighter-rouge">input_select</code> component allows the user to define a list of values that can be selected via the frontend and can be used within conditions of automation. When a user selects a new item, a state transition event is generated. This state event can be used in an <code class="highlighter-rouge">automation</code> trigger.</p>
|
||||
<p>To enable this platform, add the following lines to your <code class="highlighter-rouge">configuration.yaml</code>:</p>
|
||||
<p>To enable this platform in your installation, add the following lines to your <code class="highlighter-rouge">configuration.yaml</code>:</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
|
||||
<span class="s">input_select</span><span class="pi">:</span>
|
||||
<span class="s">who_cooks</span><span class="pi">:</span>
|
||||
|
@ -94,11 +94,14 @@
|
|||
</div>
|
||||
<p>Configuration variables:</p>
|
||||
<ul>
|
||||
<li><strong>[alias]</strong> (<em>Required</em>): Alias for the input.</li>
|
||||
<li><strong>name</strong> (<em>Optional</em>): Friendly name of the input.</li>
|
||||
<li><strong>options</strong> array: List of options to choose from</li>
|
||||
<li><strong>initial</strong> (<em>Optional</em>): Initial value when Home Assistant starts.</li>
|
||||
<li><strong>icon</strong> (<em>Optional</em>): Icon for entry.</li>
|
||||
<li><strong>[alias]</strong> array (<em>Required</em>): Alias for the input. Multiple entries are allowed..
|
||||
<ul>
|
||||
<li><strong>name</strong> (<em>Optional</em>): Friendly name of the input.</li>
|
||||
<li><strong>options</strong> array (<em>Required</em>): List of options to choose from.</li>
|
||||
<li><strong>initial</strong> (<em>Optional</em>): Initial value when Home Assistant starts.</li>
|
||||
<li><strong>icon</strong> (<em>Optional</em>): Icon for entry.</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<p>Pick an icon that you can find on <a href="https://materialdesignicons.com/">materialdesignicons.com</a> to use for your input and prefix the name with <code class="highlighter-rouge">mdi:</code>. For example <code class="highlighter-rouge">mdi:car</code>, <code class="highlighter-rouge">mdi:ambulance</code>, or <code class="highlighter-rouge">mdi:motorbike</code>.</p>
|
||||
<p class="note">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue