Fixing error string.

I suppose we would like 'motor' to be here instead of 'sensor'.