https://electropas.com/smart-switch-guide/