[SOLVED] Contact item / transformation not working

It’s a good idea to use the transform profile. But I think the problem is that all transforms output strings. The resulting “CLOSED” is not acceptable as state update for a Contact type Item wanting CLOSED (an OpenClosedType object)

https://github.com/openhab/openhab2-addons/issues/5750