home-assistant component for 2011 LG TVs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sqozz 9feb9b0d11 Update 'README.md' 8 months ago
README.md Update 'README.md' 8 months ago
__init__.py Add old version of the integration 8 months ago
manifest.json Add old version of the integration 8 months ago
media_player.py Upgrade version to newest hass version 8 months ago

README.md

  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
  1. From the site-packages directory go into your home-assistant component directory: $ cd homeassistant/components/
  2. Clone this directory to make the component availible to homeassistant: git clone http://git.geekify.de/sqozz/lg_2011.git
  3. 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.)