Smart switch installation