heat is not responding to thermostat set temp but comes on when turned off and back on with the thermostat switch
Three possibilities...

It's a programmable thermostat and it's programmed incorrectly.
The internal clock is set to the wrong time so the programs change at the wrong times.
It's been zapped with static electricity and needs to be replaced.