Refactored to use the HeatpumpIR library