i think it’s a known issue with a work around
https://community.openhab.org/t/how-to-add-item-pattern-format-via-add-items-via-textual-definition-migrate-from-items-files/111172