Update Documentation for 'Soundtouch Media Player Component Configuration (#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
This commit is contained in:
vaidyasm 2018-10-23 17:18:21 +05:45 committed by Franck Nijhof
parent 23a4976b2c
commit eb56ae1405

View File

@ -43,11 +43,22 @@ media_player:
name: Soundtouch kitchen name: Soundtouch kitchen
``` ```
Configuration variables: {% configuration %}
host:
- **host** (*Required*): The host name or address of the Soundtouch device. description: The host name or address of the Soundtouch device.
- **name** (*Required*): The name of the device used in the frontend. required: true
- **port** (*Optional*): The port number. Defaults to 8090. type: string
name:
description: The name of the device used in the frontend.
required: true
default: Bose Soundtouch
type: string
port:
description: The port number.
required: false
default: 8090
type: integer
{% endconfiguration %}
You can switch between one of your 6 pre-configured presets using ```media_player.play_media``` You can switch between one of your 6 pre-configured presets using ```media_player.play_media```