Need some help with a Generic Thermostat please

Thanks, I see that now so it won’t work the way I thought it would as I essentially have two thermostats; the one I made in HA and the one inside the heat pump. Back to the drawing board.