From 85076052f13cdef88fb2fe36715b793315bfd505 Mon Sep 17 00:00:00 2001 From: dnguyen800 <25126347+dnguyen800@users.noreply.github.com> Date: Mon, 15 Oct 2018 09:50:21 -0700 Subject: [PATCH] Update Sharp Aquos TV configuration to new style (#6808) * Update Sharp Aquos TV configuration to new style Updates Sharp Aquos TV configuration variables to new style, as per #6385. * Remove default desc from Sharp Aquos configuration Removed mention of defaults from the description in configuration variables since default variable is listed. * Change power_on_enabled config variable type to boolean Changed power_on_enabled configuration variable type to boolean from string. --- .../_components/media_player.aquostv.markdown | 37 +++++++++++++++---- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/source/_components/media_player.aquostv.markdown b/source/_components/media_player.aquostv.markdown index 156f50853f0..9535efee1ac 100644 --- a/source/_components/media_player.aquostv.markdown +++ b/source/_components/media_player.aquostv.markdown @@ -27,14 +27,37 @@ media_player: host: 192.168.0.10 ``` -Configuration variables: +{% configuration %} +host: + description: The IP/Hostname of the Sharp Aquos TV, eg. `192.168.0.10`. + required: true + type: string +port: + description: The port of the Sharp Aquos TV. + required: false + default: 10002 + type: int +username: + description: The username of the Sharp Aquos TV. + required: false + default: admin + type: string +password: + description: The password of the Sharp Aquos TV. + required: false + default: password + type: string +name: + description: The name you would like to give to the Sharp Aquos TV. + required: false + type: string +power_on_enabled: + description: If you want to be able to turn on your TV. + required: false + default: false + type: boolean +{% endconfiguration %} -- **host** (*Required*): The IP/Hostname of the Sharp Aquos TV, eg. `192.168.0.10`. -- **port** (*Optional*): The port of the Sharp Aquos TV. Defaults to 10002. -- **username** (*Optional*): The username of the Sharp Aquos TV. Defaults to admin. -- **password** (*Optional*): The password of the Sharp Aquos TV. Defaults to password. -- **name** (*Optional*): The name you would like to give to the Sharp Aquos TV. -- **power_on_enabled** (*Optional*): If you want to be able to turn on your TV. Defaults to False.
When you set **power_on_enabled** as True, you have to turn on your TV on the first time with the remote.