OH3: Error when using toString on a string item state

Sorry I just found out that the error does not occur in those two lines, but the line just after that:

logError("Test", triggeringItem.name)

I already found a thread about this problem and some issues on GitHub. It seems that triggeringItem now only works on “Member of” triggers.