In the previous article I went into the details of reverse-engineering a heat pump remote. We got the stage were it was possible to send an arbitrary state to the heat pump by constructing IR packets from scratch. I even wrote some code to do the packet construction. But how do we make this useful? As a Home Assistant user, I wanted to be able to control the heat pump via Home Assistant. This would open up a world of automation potential as well as Google Assistant and Alexa control.

Automate

From the get-go, I had an idea of how I was going to implement this process. A...•••