Combining manual IR control and switch control

Try using this component. It allows for a switch entity to be coded in to provide feedback to HA. Generally people have been using a door/window sensor on the A/C vent louver to determine if the unit is on or off.