Problem Animating Wheels.

Hi,
I’m trying to animate the wheel of a robot (something like wall-e).
I have to states: idle and walk.
during walk state the wheel rotates of course.
but when transitioning to idle state, the rotation of the wheel jumps back to its default rotation…

Any idea how to solve it?
thanks in advance.

Does the idle state have an animation? I can only imagine it jumping back to its default rotation if it had a rotation key set in an idle animation - in which case I would remove that key.