The earth wires are omitted for clarity and would want to get related in the least switches and ceiling roses. The wires would also be covered by the protecting outer sheath (cable). Some smart switches have a dimmer purpose, to help you change the level in the lights' brightness. While https://p-hub-system58987.csublogs.com/41892700/safe-electrical-wiring-options