Heat pump control with buttons

Humm, so by reading the output of your program, I am supposed to figure out the code of the program and then fix the program as per your description? How well do you think that will work?

You could, of course, post the code, in code tags? Please?