Switching gains for semi–active damping via non–convex Lyapunov functions