From a51240a01700ce9b9471dff64fb16a94ea7c7124 Mon Sep 17 00:00:00 2001 From: Emeric Date: Thu, 18 Oct 2018 14:08:17 +0200 Subject: [PATCH] Update media player lg netcast (#6923) * Update media player lg netcast * Add period --- .../media_player.lg_netcast.markdown | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/source/_components/media_player.lg_netcast.markdown b/source/_components/media_player.lg_netcast.markdown index 7a60e235781..135ffac5914 100644 --- a/source/_components/media_player.lg_netcast.markdown +++ b/source/_components/media_player.lg_netcast.markdown @@ -25,11 +25,21 @@ media_player: host: 192.168.0.20 ``` -Configuration variables: - -- **host** (*Required*): The IP address of the LG Smart TV, eg. 192.168.0.20 -- **access_token** (*Optional*): The access token needed to connect. -- **name** (*Optional*): The name you would like to give to the LG Smart TV. The default is "LG TV Remote". +{% configuration %} +host: + description: The IP address of the LG Smart TV, e.g., 192.168.0.20. + required: true + type: string +access_token: + description: The access token needed to connect. + required: false + type: string +name: + description: The name you would like to give to the LG Smart TV. + required: false + default: LG TV Remote + type: string +{% endconfiguration %} To get the access token for your TV configure the `lg_netcast` platform in Home Assistant without the `access_token`. After starting Home Assistant the TV will display the access token on screen. @@ -38,4 +48,3 @@ Just add the token to your configuration and restart Home Assistant and the medi

The access token will not change until you factory reset your TV.

-