The earth wires happen to be omitted for clarity and would want to get related in the least switches and ceiling roses. The wires would even be lined with the protecting outer sheath (cable). The switched live wire may be totally pink, have a bit of purple sleeving about it https://keegantdlqv.answerblogs.com/35016862/smart-light-switches-can-be-fun-for-anyone