That the divine being is immutable is shown by authority. The Psalm: You shall change them, and they shall be changed, but You are the selfsame; the Gloss says: "immutable."
For inasmuch as it is simple, it is immutable from itself: for it has nothing that is not its own essential being, which indeed "is not an accident, but a subsistent truth," as Hilary says. Inasmuch as it is immense, it is not mutable in another or by another: for nothing else can transfer it, since it is everywhere whole. Moreover, inasmuch as it is eternal, it is not mutable with another, because it itself remains fixed..., while other things succeed one another.
Source: Quaestiones Disputatae, De Mysterio Trinitatis, Question 6