'Adjust temperature range'

def _rerangeTemperature(self, rawHeat):

    notDone = False
    if ((rawHeat == 255) and (self.vRefFactor > 0)):
        self.vRefFactor -= 1
        self._setTempRange()
    elif ((rawHeat < 64) and (self.vRefFactor < 15)):
        self.vRefFactor += 1
        self._setTempRange()
    else:
        notDone = True
    return notDone
