From 32cf88c2acc4d06e3369f48204ebf541cd082683 Mon Sep 17 00:00:00 2001 From: vaidyasm Date: Fri, 26 Oct 2018 01:07:41 +0545 Subject: [PATCH] Update Documentation for 'Volumio' Media Player Component Configuration (#7030) * Update Documentation for 'Volumio' Media Player Component Configuration * Update description sentence style. * Adds default values Default values are obtained from https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/media_player/volumio.py lines 32 through 34. --- .../_components/media_player.volumio.markdown | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/source/_components/media_player.volumio.markdown b/source/_components/media_player.volumio.markdown index 26053822e8a..71acd0a873f 100644 --- a/source/_components/media_player.volumio.markdown +++ b/source/_components/media_player.volumio.markdown @@ -26,8 +26,20 @@ media_player: port: 3000 ``` -Configuration variables: - -- **name** (*Optional*): Name of the device -- **host** (*Required*): IP address or hostname of the device -- **port** (*Required*): Port number of Volumio service +{% configuration %} +name: + description: The name of the device. + required: false + default: Volumio + type: string +host: + description: The IP address or hostname of the device. + required: true + default: localhost + type: string +port: + description: The Port number of Volumio service. + required: true + default: 3000 + type: integer +{% endconfiguration %}