The recommendation is to configure the Things in the UI. Text configuration is too error-prone. In fact, since you did not use code fences, the spacing of your example may cayuse issues for users.
How to use code fences - Tutorials & Examples - openHAB Community