Site updated at 2017-09-26 07:14:23 UTC
This commit is contained in:
parent
80847eb95a
commit
b723b0750d
415 changed files with 2329 additions and 1581 deletions
|
@ -115,7 +115,7 @@
|
|||
<p>The universal media player will primarily imitate one of its <em>children</em>. The first child in the list that is active (not idle/off) will be controlled the universal media player. The universal media player will also inherit its state from the first active child. Entities in the <em>children</em> list must be media players.</p>
|
||||
<p>It is recommended that the command <em>turn_on</em>, the command <em>turn_off</em>, and the attribute <em>state</em> all be provided together. The <em>state</em> attribute indicates if the Media Player is on or off. If <em>state</em> indicates the media player is off, this status will take precedent over the states of the children. If all the children are idle/off and <em>state</em> is on, the universal media player’s state will be on.</p>
|
||||
<p>It is also recommended that the command <em>volume_up</em>, the command <em>volume_down</em>, the command <em>volume_mute</em>, and the attribute <em>is_volume_muted</em> all be provided together. The attribute <em>is_volume_muted</em> should return either True or the on state when the volume is muted. The <em>volume_mute</em> service should toggle the mute setting.</p>
|
||||
<p>When providing <em>select_source</em> as a command, it is recomended to also provide the attributes <em>source</em>, and <em>source_list</em>. The <em>source</em> attribute is the currently select source, while the <em>source_list</em> attribute is a list of all available sources.</p>
|
||||
<p>When providing <em>select_source</em> as a command, it is recommended to also provide the attributes <em>source</em>, and <em>source_list</em>. The <em>source</em> attribute is the currently select source, while the <em>source_list</em> attribute is a list of all available sources.</p>
|
||||
<p>Below is an example configuration.</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">media_player</span><span class="pi">:</span>
|
||||
<span class="s">platform</span><span class="pi">:</span> <span class="s">universal</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue