What do I wrong using Animation? (2d sprites)

my script is:

    public void PlayAnimation(string animationClip)
    {
        Debug.Log("anim: " + entityAnimation);

        int animCount = entityAnimation.GetClipCount();
        Debug.Log("Animations found: " + animCount);

        int idx = 0;
        foreach (AnimationClip anim in entityAnimation)
        {
            Debug.Log("Animation (" + idx + "): " + anim.name);
            idx++;
        }

        int idx2 = 0;
        foreach (AnimationState anim in entityAnimation)
        {
            Debug.Log("Animation (" + idx2 + "): " + anim.name);
            idx2++;
        }

        Debug.Log(idx +" / "+ idx2);
         
        entityAnimation.Play("ah_floor_stand_normal");
    }

at init function I call:

entityAnimation = gameObject.GetComponentInChildren<Animation>();

I want to simply play animation and unity traces error, there’s no such animation, I include screenshot: Dropbox - Error - Simplify your life

UPDATE:

the legacy animation has problem if you need to switch sprites by animation, that means we need to use Animator and this question is obsolete as well as Animation is deprecated

if this animation is not mechanic you need to change the animation type on your imported model to legacy. it’s in RIG → animation type → legacy