Refactoring
Changed range for thermostat