Weird behavior from the shown humidity - widget - OH3

There’s one more level of complication here. Even if your item has a pattern, it might not always have a displayState. In order to optimize performance of the UI, if the state and displayState of an item are identical then only the state is passed to the items object. So if you have an item where the state and displayState can occasionally be the same (as appears to be happening here) then you need to test for displayState and fall back to the state if necessary.

text: =items[props.humidity].displayState || items[props.humidity].state