Smart 2 gang socket