mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Fix indent
This commit is contained in:
parent
83e06e8f49
commit
cd553dc537
@ -23,7 +23,7 @@ To add a device to your installation, add the following to your `configuration.y
|
|||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
media_player:
|
media_player:
|
||||||
platform: russound_rnet
|
- platform: russound_rnet
|
||||||
host: 192.168.1.10
|
host: 192.168.1.10
|
||||||
port: 1337
|
port: 1337
|
||||||
name: Russound
|
name: Russound
|
||||||
@ -43,10 +43,6 @@ media_player:
|
|||||||
sources:
|
sources:
|
||||||
- name: Sonos
|
- name: Sonos
|
||||||
- name: Sky+
|
- name: Sky+
|
||||||
- name: iPod
|
|
||||||
- name: Unused 1
|
|
||||||
- name: Unused 2
|
|
||||||
- name: Kodi
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
@ -21,7 +21,7 @@ A Universal Media Player is created in `configuration.yaml` as follows.
|
|||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
media_player:
|
media_player:
|
||||||
platform: universal
|
- platform: universal
|
||||||
name: MEDIA_PLAYER_NAME
|
name: MEDIA_PLAYER_NAME
|
||||||
children:
|
children:
|
||||||
- media_player.CHILD_1_ID
|
- media_player.CHILD_1_ID
|
||||||
@ -49,10 +49,10 @@ media_player:
|
|||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- **name**: The name to assign the player
|
- **name** (*Required*): The name to assign the player
|
||||||
- **children**: Ordered list of child media players this entity will control
|
- **children** (*Required*): Ordered list of child media players this entity will control
|
||||||
- **commands** *Optional*: Commands to be overwritten. Possible entries are *turn_on*, *turn_off*, *volume_up*, *volume_down*, and *volume_mute*.
|
- **commands** (*Optional*): Commands to be overwritten. Possible entries are *turn_on*, *turn_off*, *volume_up*, *volume_down*, and *volume_mute*.
|
||||||
- **attributes** *Optional*: Attributes that can be overwritten. Possible entries are *is_volume_muted* and *state*. The values should be an entity id and state attribute separated by a bar (\|). If the entity id's state should be used, then only the entity id should be provided.
|
- **attributes** (*Optional*): Attributes that can be overwritten. Possible entries are *is_volume_muted* and *state*. The values should be an entity id and state attribute separated by a bar (\|). If the entity id's state should be used, then only the entity id should be provided.
|
||||||
|
|
||||||
The universal media player will primarily imitate one of its *children*. 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 *children* list must be media players.
|
The universal media player will primarily imitate one of its *children*. 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 *children* list must be media players.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user