How can I play an animation as long as the player is on the pressure pad?

I’m making a 2D platformer with Unity. Recently, I implemented a pressure pad system. Basically, when the player triggers the pad, a door near there should be opened. The system works properly but the only problem is when the player stays on the pad, the OpenWhenOn animation (an idle animation for when the door is open) is not playing. I want to somehow make this keep playing as long as the player is on the pad and if it exits the trigger, the DoorClosing animation should be played. I thing there is a problem with the Animator Controller and the transitions. Thanks in advance.

enter image description here This is my Animator Controller. HasExitTime is disabled for all the transitions. The condition for the transition between DoorOpening and OpenWhenOn is set to true and for the transition between OpenWhenOn and DoorClosing is set to false.