core: LG WebOS TV no longer working with latest beta firmware on TV

The problem

The problem

Updated TV to latest beta of WebOS 33.20.66 and integration is completely broken, will not even see my TV if I try to ‘reconfigure’. Confirmed TV settings unchanged from before the firmware update. Entity shows “OFF” even when it’s on, becomes “Unavailable” randomly, and if I try to ‘reload’ it it times out, if I try to add it it times out.

Running HA: Core 2025.7.0b0 Supervisor 2025.06.2 Operating System 16.0.rc1

Other LG OLED that I didn’t update is working fine.

What version of Home Assistant Core has the issue?

2025.7.0b0

What was the last working version of Home Assistant Core?

2025.7.0b0

What type of installation are you running?

Home Assistant OS

Integration causing the issue

WebOS TV

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

Log entry:

ogger: pychromecast.socket_client
Source: /usr/local/lib/python3.13/site-packages/pychromecast/socket_client.py:624
First occurred: 11:00:00 PM (2 occurrences)
Last logged: 11:08:00 PM

[[LG] webOS TV OLED55C3PUA(192.168.50.7):8009] Error reading from socket: socket connection broken

Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1273
First occurred: 10:59:16 PM (1 occurrence)
Last logged: 10:59:16 PM

Update of media_player.lg_webos_smart_tv is taking over 10 seconds

config_entry-webostv-261d9b02da9cb1703f043a2187f50a12.json

Anything in the logs that might be useful for us?


Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 5
  • Comments: 27 (10 by maintainers)

Most upvoted comments

@thecode Your fix in #aiowebostv/pull/501 has worked for me perfectly, changed the webos_client.py then restarted HA and I was able to add my G5 through the integration the prompt on TV appeared very quickly.

Thank you so much for the fix, I was scratching my head trying to think want had changed etc.

If you want to test the fix, from inside HA core container:

cd /config
curl -o- -sSL https://gist.githubusercontent.com/thecode/2f725a121fb71840d8a245381fab9a4f/raw/core_integration_pr | bash /dev/stdin -d webostv -p 148273

The following addon can be used to get into the container Home Assistant Community Add-on: Advanced SSH & Web Terminal and from the terminal run:

docker exec -it homeassistant /bin/bash

It will add the integration as a custom component, make sure to restart after the clone above. To revert back, delete the custom integration (under /config/custom_components) For any feedback about it make sure to include debug logs

Remember to remove the custom component after testing so that it will be updated on the next release.

Thanks

Added the changes in #499 and #500. It now shows a pairing notification but won’t complete. Failed to connect, please turn on your TV and try again.

Yes, these are work in progress, I am aware of it, I was testing this in small changes together with @rcode6, if you want test https://github.com/home-assistant-libs/aiowebostv/pull/501 which should fix it, I will create a release tomorrow and hopefully get this fix into the next core patch release

Same issue here with LG G5 33.20.65. Thought I was going crazy. Tried to reset both the TV and home assistant, both didn’t work. I can ping the TV but it won’t receive any pairing notifications.

@thecode Your fix in #aiowebostv/pull/501 has worked for me perfectly, changed the webos_client.py then restarted HA and I was able to add my G5 through the integration the prompt on TV appeared very quickly.

Thank you so much for the fix, I was scratching my head trying to think want had changed etc.

I’m happy to help test a fix if I can (you’ll have to advise me how to apply the fix outside of HA updates) , I’ve got a G5 with identical symptoms.

@thecode I’m away from my computer at the moment otherwise I’d be happy to hop on discord to test more.

I did use separate websocket sessions each time so I’m pretty sure it’s just the empty payload.

@thecode {"id": "1", "type": "hello", "payload": {}} gets a response! {"id": "1", "type": "hello"} times out

App has no issues, pairs with both of my TVs just fine.

@Armand29 The ThinQ Apple App works fine for me for the TV, no issues there.