LG Webostv not working on 0.105.5

Hi I just cannot get this new integration to work on RPI 3 / Buster / Docker
I have this in my configuration.yaml;
webostv:

  • name: Living_Room_TV
    host: 192.168.1.5

notify:

I have removed all old notifications but I just get these errors;

‘2020-02-18 10:57:22 ERROR (MainThread) [homeassistant.setup] Error during setup of component webostv’
‘Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 170, in _async_setup_component
hass, processed_config’
‘File “/usr/src/homeassistant/homeassistant/components/webostv/init.py”, line 99, in async_setup
await asyncio.gather(*tasks)’
‘File “/usr/src/homeassistant/homeassistant/components/webostv/init.py”, line 110, in async_setup_tv
client = WebOsClient(host, config_file)’
’ File “/usr/local/lib/python3.7/site-packages/aiopylgtv/webos_client.py”, line 67, in init
self.load_key_file()’
’ File “/usr/local/lib/python3.7/site-packages/aiopylgtv/webos_client.py”, line 94, in load_key_file
key_dict = json.loads(raw_data)’
File “/usr/local/lib/python3.7/json/init.py”, line 348, in loads
return _default_decoder.decode(s)
’ File “/usr/local/lib/python3.7/json/decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())’
‘File “/usr/local/lib/python3.7/json/decoder.py”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)’

Has anyone any ideas, I have read the other threads on issues with the new webostv but none seem to answer my problem.

Looks like there is something messed up with the file which stores the pairing information. Try removing webostv.conf from your home assistant config directory and restart home assistant (then you should be prompted to re-pair the tv)

1 Like