The send-function is used to send updates to the controller, in your case the physical-button-switch-change. Doing the send, does not control anything on the node itself.
I liked domoticz (was very easy to set up and use). Together with dzVents scripting wasn't that difficult either. But I also had some problem with it lately, so I was actually thinking about switching to openhab (2).
@Shivanand-Chanderbally I recently finished a node using the acs712 and found it to be very sensitive to nearby magnetic fields. It is best to have it as far away from these as you can.
I'm afraid you're not going to get many answers to your question if you provide not more information...
type of heat pump, manufacturer
what are the current possibilities of controlling this heat pump
photo's
electric schema's
...
Try to give as much as possible (technical) information...