Convert Wind Direction (in degrees) to Compass Points

Removing the dimension on the Item, it now shows in the log as an integer

Failed transforming the state '123' on item 'WeatherStation_WindDirection' with pattern 'SCALE(config:scale:Wind_direction):%s': Could not find configuration 'config:scale:Wind_direction' or failed to parse it.

And I edited my transformation using two dots separating integer values.

[0..11]=N
[12..33]=NNE
[34..56]=NE
[57..79]=ENE
[80..102]=E
[103..125]=ESE
[126..147]=SE
[148..170]=SSE
[171..191]=S
[192..214]=SSW
[215..237]=SW
[238..260]=WSW
[261..283]=W
[284..306]=WNW
[307..329]=NW
[330..352]=NNW
[353..360]=N
NaN=Non-numeric state

So I think the error is related to the syntax of the Pattern expression

value: " "
config:
  options: ""
  pattern: SCALE(config:scale:Wind_direction):%s