'Initialize the thermostat.'

def __init__(self, device, hold_temp, away_temps):

    self.device = device
    self.set_time()
    self._target_temperature = None
    self._current_temperature = None
    self._current_operation = STATE_IDLE
    self._name = None
    self._fmode = None
    self._tmode = None
    self._tstate = None
    self._hold_temp = hold_temp
    self._away = False
    self._away_temps = away_temps
    self._prev_temp = None
    self._operation_list = [STATE_AUTO, STATE_COOL, STATE_HEAT, STATE_OFF]
