Detection gas valve