Is the switch the actual device, or is it a virtual device which represents a state of the actual device?
I ask because about three weeks ago they broke the DTH for “virtual switch“ so that it is causing exactly this problem for many people, multiple notifications on a state change.
The current workaround is just to change to a “simulated switch“ DTH.
Discussion here: