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.
This commit is contained in:
dnguyen800 2018-10-15 09:50:21 -07:00 committed by Fabian Affolter
parent e13bf4c55e
commit 85076052f1

View File

@ -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.
<p class='note warning'>
When you set **power_on_enabled** as True, you have to turn on your TV on the first time with the remote.