Skip to content

Commit eb56ae1

Browse files
vaidyasmfrenck
authored andcommitted
Update Documentation for 'Soundtouch Media Player Component Configuration (home-assistant#7032)
* Update Documentation for 'Soundtouch Media Player Component Configuration * Adds default value for 'name' key Default value for 'name' key is defined at https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/media_player/soundtouch.py#L59
1 parent 23a4976 commit eb56ae1

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

source/_components/media_player.soundtouch.markdown

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,22 @@ media_player:
4343
name: Soundtouch kitchen
4444
```
4545
46-
Configuration variables:
47-
48-
- **host** (*Required*): The host name or address of the Soundtouch device.
49-
- **name** (*Required*): The name of the device used in the frontend.
50-
- **port** (*Optional*): The port number. Defaults to 8090.
46+
{% configuration %}
47+
host:
48+
description: The host name or address of the Soundtouch device.
49+
required: true
50+
type: string
51+
name:
52+
description: The name of the device used in the frontend.
53+
required: true
54+
default: Bose Soundtouch
55+
type: string
56+
port:
57+
description: The port number.
58+
required: false
59+
default: 8090
60+
type: integer
61+
{% endconfiguration %}
5162
5263
You can switch between one of your 6 pre-configured presets using ```media_player.play_media```
5364

0 commit comments

Comments
 (0)