smart switch init