30 years old PTAC has wired thermostat terminals. But I dolike OPs solution.