Let $A$ be a finite-dimensional unital associative algebra over $\mathbb{R}$. Then its group of units $A^{\times}$ is a Lie group. I am interested in the case when $A$ is also commutative and $A^{\times}$ is path-connected. Then $A^{\times}$ is a path-connected abelian Lie group, hence $A^{\times}\cong\mathbb{R}^m\times\mathbb{T}^n$ for some $m,n\in\mathbb{N}_0$. Now, since the irreducible representations of $(\mathbb{R},+)$ are of the form $\exp(kt)$ for some $k\in\mathbb{C}$ and $(-1)$ is a unit in $A$, a representation $\rho$ of $A$ must realize $A^{\times}$ in a strictly complex way.
Is it true that a finite-dimensional real commutative associative unital algebra with path-connected group of units must be automatically complex?
The missing part is about what is going on with the non-units, and to that effect I've (unsuccessfully) tried to construct counterexamples, hence my question above. Intuitively, the obstruction is that the complex numbers have no action on the dual numbers and the split-complex numbers (as subalgebras of $\mathrm{Mat}_2(\mathbb{R})$ and looking at matrices of 2x2 blocks), but I feel like I'm missing some rigorous key observation to properly finish the argument.