There's a nice way to show this if one has defined, for non-negative $a_n$
$$\sum_{n\in S}a_n = \sup\left\{\sum_{n\in S'}a_n:S'\text{ is a finite subset of }S\right\}.$$
Of course, it is not too hard to show that this is true from any other definition of a sum, since any quantity less than the supremum is eventually exceeded by a partial sum - therefore by every partial sum thereafter - which, together with the fact that the supremum is an upper bound, implies convergence.
After this step, we only need the following properties of the supremum:
The supremum is an upper bound. If $x\in X$ then $x\leq \sup X$.
The supremum is the least upper bound. If $x \leq c$ for every $x\in X$ then $\sup X \leq c$.
Constants can be taken outside a supremum. For any set $X$ and any $c$ we have $\sup(X+c)=(\sup X)+c$.
Notably, this means that our proof will proceed without any $\varepsilon$'s, which is neat - and, in fact, I promise that there is no interesting step of the proof: we are just going to shuffle symbols around to show that this statement is true. Our argument essentially amounts to the fact that a set is a finite subset of $\bigcup A_i$ exactly if it intersects a finite number of sets $A_i$ and intersects each $A_i$ at only finitely many points.
We want to show that if $I$ is some indexing set and $A_i$ is a set of pairwise disjoint sets and for each $n\in A_i$ there is some $a_n \in [0,\infty]$, we have
$$\sum_{n\in \bigcup A_i}a_n = \sum_{i\in I}\sum_{n\in A_i}a_n.$$
We can do this by showing two inequalities.
Direction 1: "Finite sums of a union are finite sums of finite sums of elements"
First, let $a_{1}+a_2+\ldots+a_k$ be some sum of finitely many elements of $\bigcup A_i$. Let $I'$ be the set of indices $i\in I$ such that $A_i$ contains at least one of the $a_n$. We then observe that
$$a_1+a_2+\ldots+a_k\leq \sum_{i\in I'}\sum_{n\in A_i}a_n \leq \sum_{i\in I}\sum_{n\in A_i}a_n$$
because the terms $\sum_{n\in A_i}a_n$ are individually upper bounds to sums of finitely many elements from $A_i$ - and the sum $a_1+\ldots+a_k$ is necessarily a sum of sums of finitely many elements from each $A_i$. For instance, if $a_1$ and $a_2$ came from $A_1$ and $a_3$ and $a_4$ came from $A_2$, this would say that $a_1+a_2+a_3+a_4$ is bounded above by $\sum_{n\in A_1}a_n + \sum_{n\in A_2}a_n$ because it may be grouped as $(a_1+a_2)+(a_3+a_4)$ and each group is subject to a bound via the supremum.
In any case, taking the supremum of the left hand side yields
$$\sum_{n\in \bigcup A_n}a_n \leq \sum_{i\in I}\sum_{n\in A_i}a_n.$$
Direction 2: "Finite sums of finite sums of elements are finite sums of a union"
For this direction, we start by considering an arbitrary finite subset $I'\subseteq I$. For each $i\in I'$, let us consider a finite subset $A'_i$ of $A_i$. Observe that $\bigcup_{i\in I'} A'_i$ is a finite subset of $\bigcup_{i\in I} A_i$, therefore that
$$\sum_{i\in I'}\sum_{n\in A'_i}a_n\leq \sum_{n\in \bigcup_I A_i}a_n$$
Note that we can fix some $i_0\in I'$ and take the supremum of this inequality over all finite subsets of $A_{i_0}$ to get
$$\sum_{n\in A_{i_0}}a_n + \sum_{i\in I'\setminus \{i_0\}}\sum_{n\in A'_i}a_n\leq \sum_{n\in \bigcup_I A_i}a_n$$
where essentially the only difference is that a sum over $A'_{i_0}$ has been changed to a sum over $A_{i_0}$ by taking the supremum over all possible $A'_{i_0}$.
Since $I'$ is finite, we can proceed inductively, taking the supremum over all finite subsets $A'_i$ of each $A_i$ one at a time to get
$$\sum_{i\in I'}\sum_{n\in A_i}a_n\leq \sum_{n\in \bigcup_I A_i}a_n.$$
Then we can take the supremum of this inequality over all $I'$ to get
$$\sum_{i\in I}\sum_{n\in A_i}a_n \leq \sum_{n\in \bigcup_I A_i}a_n.$$
Having shown both inequalities, we may then conclude that $$\sum_{i\in I}\sum_{n\in A_i}a_n = \sum_{n\in \bigcup_I A_i}a_n.$$