'Set temperature hold in modes other than auto.'

def set_temp_hold(self, temp):

    if (self.current_operation == STATE_HEAT):
        heat_temp = temp
        cool_temp = (temp + 20)
    elif (self.current_operation == STATE_COOL):
        heat_temp = (temp - 20)
        cool_temp = temp
    self.data.ecobee.set_hold_temp(self.thermostat_index, cool_temp, heat_temp, self.hold_preference())
    _LOGGER.debug('Setting    ecobee    hold_temp    to:    low=%s,    is=%s,    cool=%s,    is=%s', heat_temp, isinstance(heat_temp, (int, float)), cool_temp, isinstance(cool_temp, (int, float)))
    self.update_without_throttle = True
