MainUI label card etc, how do I reference the linked item state?

For now I’m doing it via:


is there something like a ‘this’ so that I don’t have to type out the item id every time?

Fo example in the label expression, I want to display something else depending on the state, naturally I thought that there would be a keyword that references the item attached to the label card, but after trying a fair few words, nothing.

Unfortunately, no. The widget expressions are only handled by a lightweight parser, not a full language. It does get a little tedious typing out the full dict references every time, but the good news once your widgets are functional you don’t have to worry about it again.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.