Diamond switch using new thermal actuation principle