#9 #15 improved handling of invalid setpoint variable. Turning off termostat and setting setpoint to 0