The earth wires are already omitted for clarity and would want to get related whatsoever switches and ceiling roses. The wires would also be coated through the protecting outer sheath (cable). To be around the safe aspect, test the switch to verify it no longer turns the light on. Often https://smart-power-point85169.jts-blog.com/33731278/considerations-to-know-about-smart-power-points-and-switches