You can do quite a bit with SVG's if you know how to make it happen.
Personally though, I would caution you against this. Is rotating the fan really needed to show that the fan is running? I think changing the color and text of the label is more than enough to indicate the status. To each their own though.
If I had to do this, I would get an SVG and animate it similar to the link above illustrates.