From 9feb9b0d11e78480cea336d8b482390889dd9dd9 Mon Sep 17 00:00:00 2001 From: sqozz Date: Sat, 13 Feb 2021 14:31:28 +0100 Subject: [PATCH] Update 'README.md' --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index e69de29..f03cab5 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,14 @@ +1. Enter your venv and cd into your site-packages directory e.g. `$ cd lib/python3.8/site-packages/` +2. Clone the python_lgtv dependency from https://git.geekify.de/sqozz/python-lgtv into python_lgtv: +``` +git clone http://git.geekify.de/sqozz/python-lgtv.git python_lgtv +``` +3. From the site-packages directory go into your home-assistant component directory: `$ cd homeassistant/components/` +4. Clone this directory to make the component availible to homeassistant: `git clone http://git.geekify.de/sqozz/lg_2011.git` +5. Configure the component in your configuration.yaml: +``` +- platform: lg_2011 + host: "lgtv.lan" + access_token: ABCDEF +``` +(The token does not change. You can extract it by using the android app or the python-lgtv script itself.) \ No newline at end of file