LG TVs have well known WebSocket and serial-port APIs. I haven't tried it with HA, but I'm using alga CLI (https://github.com/Tenzer/alga) to automate my TV (which I'm using as a dumb monitor).