You might be able to get this working with a Broadlink hub, along with @tomw’s Broadlink integration.