My LG TV actually had support for control by serial communication, provided I plugged in a USB to serial converter. It allowed me to move volume control to my HTPC and largely dump the remote.
I kind of doubt an air conditioner has the same feature though.
Probably most others too. My new TCL TV uses a Bluetooth remote.