Temperature controlled thyristor