Another +1 for LG but it's worth mentioning that there are a few things that a TV firmware does that you don't necessarily want in a Monitor. Simple example: most TVs will stay on _forever_ with the "no signal" image bouncing around... but a proper monitor will interpret that as a sign that the PC has gone to sleep so the monitor should, too.
I have not looked into hacking the firmware to change this behavior but if there's a "custom rom" out there that can do this, I'd appreciate a link!
One of the best things about LG in general is their serial port. It's hit/miss which of their models will have it exposed on the back, but if yours does, the protocol is well documented and is very simple.
My LG TV (used as a monitor) is really chatty on the network and so I keep it disconnected so I don't get periodic interruptions from little overlays telling me that $someApp has been updated and needs me to agree to new terms (yes, really!).
To re-gain remote control for automation, I use the serial port. I have an ESP32 connected to a mmWave sensor for active "at desk?" detection. This is integrated with Home Assistant which knows which PC my KVM is pointing to and if it's on or not. This lets me re-implement basic "if not at desk and no PC is on, put the display to sleep" automation.
My biggest complaint is more of an ecosystem issue; why is DisplayPort not common on TVs? Because this TV-As-A-Monitor is HDMI only, my KVM has to be HDMI and so does every PC that's hooked up. Would have been a lot nicer if the whole chain could be display port :/.