Fixed logic bug
Merge branch 'master' of https://github.com/tommybobbins/PiThermostat