Actually, it is this second switch that would have the problems I was referring to.
The first switch (the Leviton with the rocker actuator) may possibly be better, if it is large enough to have some type of clamp (strain relief) at the cord entrances.
Sorry about confusing the two switches. Looking at it again, the Leviton may be larger than I first thought.
-