Thanks for looking into it. That’s exactly the behaviour I’m seeing. It can already be done with the Mushroom Fan Card, which has an option to animate the icon when the fan is on.
I think it’s just a case of targeting the correct specific element for the rotation (i.e. just the icon and not the whole chip). So rather than applying the animation to ‘ha-card’ I think it should be further down the element path, but I’m not familiar enough with CSS.