Hi,
Im trying to get the LG Netcast support to work with my tv.
TV Info
Model: 55LM620T-ZE
Software: 04.62.10
SDK: 02.08
Netcast platform ver: 0003.0005.0000
My media player config looks like this:
media_player:
- platform: kodi
host: http://192.168.1.79
port: 8080
name: Kodi
user: kodi
password: xxxxxx
- platform: lg_netcast
host: 192.168.1.144
- platform: plex
- platform: cast
It doesn’t matter if i don’t have the access_token row there at all, have it there but leave it blank or if i use the actual access token (got it with the LGTV remote android app).
The component always gives the following errors:
ERROR:homeassistant.components.media_player:Error while setting up platform lg_netcast
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 109, in _setup_platform
discovery_info)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/lg_netcast.py", line 48, in setup_platform
client = LgNetCastClient(config[CONF_HOST], config[CONF_ACCESS_TOKEN])
KeyError: 'access_token'
and after that:
ERROR:homeassistant.components.media_player:Error while setting up platform lg_netcast
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 109, in _setup_platform
discovery_info)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/lg_netcast.py", line 49, in setup_platform
add_devices([LgTVDevice(client, config[CONF_NAME])])
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/lg_netcast.py", line 71, in __init__
self.update()
File "/usr/local/lib/python3.4/dist-packages/homeassistant/util/__init__.py", line 289, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/util/__init__.py", line 289, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/lg_netcast.py", line 104, in update
c in channel_list]
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/lg_netcast.py", line 104, in <listcomp>
c in channel_list]
AttributeError: 'NoneType' object has no attribute 'text'
Have i missed something or has anyone else experienced this and fixed it or might there be a bug? Any help is appreciated!