Skip to content

Commit 5635e97

Browse files
committed
Site updated at 2017-09-02 11:01:33 UTC
1 parent cc22e8e commit 5635e97

File tree

26 files changed

+79
-65
lines changed

26 files changed

+79
-65
lines changed

atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Home Assistant]]></title>
55
<link href="https://home-assistant.io/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/announcements/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Announcements | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/announcements/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/community/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Community | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/community/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/device-tracking/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Device-Tracking | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/device-tracking/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/esp8266/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: ESP8266 | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/esp8266/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/how-to/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: How-To | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/how-to/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/ibeacons/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: iBeacons | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/ibeacons/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/internet-of-things/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Internet-of-Things | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/internet-of-things/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/iot-data/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: IoT-Data | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/iot-data/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/media/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Media | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/media/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/merchandise/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Merchandise | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/merchandise/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/micropython/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Micropython | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/micropython/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/mqtt/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: MQTT | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/mqtt/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/organisation/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Organisation | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/organisation/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/owntracks/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: OwnTracks | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/owntracks/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/presence-detection/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Presence-Detection | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/presence-detection/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/public-service-announcement/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Public-Service-Announcement | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/public-service-announcement/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/release-notes/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Release-Notes | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/release-notes/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/survey/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Survey | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/survey/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/talks/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Talks | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/talks/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/technology/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Technology | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/technology/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/user-stories/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: User-Stories | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/user-stories/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/video/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Video | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/video/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

blog/categories/website/atom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title><![CDATA[Category: Website | Home Assistant]]></title>
55
<link href="https://home-assistant.io/blog/categories/website/atom.xml" rel="self"/>
66
<link href="https://home-assistant.io/"/>
7-
<updated>2017-09-01T20:03:49+00:00</updated>
7+
<updated>2017-09-02T10:52:57+00:00</updated>
88
<id>https://home-assistant.io/</id>
99
<author>
1010
<name><![CDATA[Home Assistant]]></name>

components/input_select/index.html

+15-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h1 class="title indent">
9797
<li><strong>[alias]</strong> array (<em>Required</em>): Alias for the input. Multiple entries are allowed..
9898
<ul>
9999
<li><strong>name</strong> (<em>Optional</em>): Friendly name of the input.</li>
100-
<li><strong>options</strong> array (<em>Required</em>): List of options to choose from.</li>
100+
<li><strong>options</strong> array (<em>Required</em>): List of options to choose from.</li>
101101
<li><strong>initial</strong> (<em>Optional</em>): Initial value when Home Assistant starts.</li>
102102
<li><strong>icon</strong> (<em>Optional</em>): Icon for entry.</li>
103103
</ul>
@@ -128,6 +128,20 @@ <h3><a class="title-link" name="services" href="#services"></a> Services</h3>
128128
<span class="s">option</span><span class="pi">:</span> <span class="s">Paulus</span>
129129
</code></pre>
130130
</div>
131+
<p>To dynamically set the <code class="highlighter-rouge">input_select</code> options you can call <code class="highlighter-rouge">input_select.set_options</code>. The following example can be used in an automation rule:</p>
132+
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
133+
<span class="s">automation</span><span class="pi">:</span>
134+
<span class="pi">-</span> <span class="s">alias</span><span class="pi">:</span> <span class="s">example automation</span>
135+
<span class="s">trigger</span><span class="pi">:</span>
136+
<span class="s">platform</span><span class="pi">:</span> <span class="s">event</span>
137+
<span class="s">event_type</span><span class="pi">:</span> <span class="s">MY_CUSTOM_EVENT</span>
138+
<span class="s">action</span><span class="pi">:</span>
139+
<span class="pi">-</span> <span class="s">service</span><span class="pi">:</span> <span class="s">input_select.set_options</span>
140+
<span class="s">data</span><span class="pi">:</span>
141+
<span class="s">entity_id</span><span class="pi">:</span> <span class="s">input_select.who_cooks</span>
142+
<span class="s">options</span><span class="pi">:</span> <span class="pi">[</span><span class="s2">"</span><span class="s">Item</span><span class="nv"> </span><span class="s">A"</span><span class="pi">,</span> <span class="s2">"</span><span class="s">Item</span><span class="nv"> </span><span class="s">B"</span><span class="pi">,</span> <span class="s2">"</span><span class="s">Item</span><span class="nv"> </span><span class="s">C"</span><span class="pi">]</span>
143+
</code></pre>
144+
</div>
131145
<h3><a class="title-link" name="scenes" href="#scenes"></a> Scenes</h3>
132146
<p>To specify a target option in a <a href="/components/scene/">Scene</a> you have to specify the target as <code class="highlighter-rouge">option</code> attribute:</p>
133147
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>

0 commit comments

Comments
 (0)