Comment: I am concerned that in the discussion of incorrect probabilities,
the main purpose of this Question may not have received proper attention. The title mentions Type I and Type II error, and it seems that a correct version of
the question might have illustrated those concepts.
Accordingly, here is an elementary discussion of errors of Types I and II for a two-sided z test on the population mean, when the population SD $\sigma$ is known.
Let $X_1, X_2, \dots, X_{25}$ be a random sample from $\mathsf{Norm}(\mu,\sigma=25),$ where $\mu$ is unknown. Then
$\bar X \sim \mathsf{Norm}(\mu, \sigma = 5).$
Suppose we wish to test $H_0: \mu = 100$ vs. $H_a: \mu \ne 100,$ based on
the observed value of $\bar X.$ The test statistic is $Z = (\bar X - 100)/5$
and $H_0$ is rejected at the 5% level of significance if $|Z| > 1.96,$
which is the same as rejecting when $\bar X$ is outside the interval
$(90.2, 109.8).$
Type I error is
$$\alpha =P(\text{Rej } H_0|\mu=100) = 1-P(90.2 < \bar X < 109.8|\mu=100).$$
Because of our choice of the rejection region, this should be 0.05 = 5%,
which we verify using R statistical software below:
1 - diff(pnorm(c(90.2, 109.8), 100, 5))
## 0.04999579
Roughly speaking, Type II error is $\beta = P(\text{Acc } H_0|H_a),$ but
there many alternative values $\mu_a$ of the population mean. So more
carefully, we must think of a function $\beta(\mu_a).$
The Type II error for the specific alternative $\mu_a = 110$ is
$$\beta(110) = P(90.2 < \bar X < 109.8|\mu=110) = 0.484,$$ as shown below:
diff(pnorm(c(90.2, 109.8), 110, 5))
## 0.4840091
The Type II error for other alternative values $\mu_a$ can be found
similarly.
The power of a test is the probability of properly rejecting $H_0:$
that is $\pi(\mu_a) = 1 - \beta(\mu_a).$ Thus power is also a function
of $\mu_a.$
In experimental design one often looks at the power function for a given
sample size $n$ and significance level $\alpha$ to see what discrepancies
$|\mu_0 - \mu_a|$ might lead to rejection. Below is a power curve for
the current test.
mu.a = seq(75, 125, by = .01)
pwr = pnorm(90.2, mu.a, 5) + (1 - pnorm(109.8, mu.a, 5))
plot(mu.a, pwr, type="l", lwd=2)
abline(h=1, col="green2")
points(100, .05, pch=19, col="red")
We see that alternative values of the true population means that are about 15 to 20 units away
from $\mu_0 = 100$ are reasonably sure to lead to rejection of $H_0.$
[The point at $(100, .05)$ is shown in red here because it is the only
point on the curve that is not actually a 'power' value.]

Note: When the population SD $\sigma$ is unknown and estimated by
the sample SD $S,$ one would use a t test. Computation of power for a
t test is more intricate, involving the non-central t distribution.