Auto­matic switch