Some metadata StateDescription seem to be in play and yet MainUI does not show it

Hi,

I’m on OH 5.0 stable.
I have an item of type string that obviously seems to have some metadata constraining the values it can take and yet MainUI does not show any metadata, as the screenshot below shows (taken after having clicked on the value as if I wanted to change it - see the popup at the bottom)… I must be missing something obvious but I can’t find what exactly…

Where exactly are the 4 values (internal, external, external_2, external_3) stored?

Thanks,

Bindings can also provide state/command description metadata to Items linked to a channel, those aren’t real „metadata“ though, so they aren’t displayed.

ok, thank for the answer. When you say “not real” metadata, you mean thay they can’t be changed? Or something else?

I think you can override it by adding state description or command options metadata, but I am not sure.

1 Like

I just had a conversationn about this on another thread and at least for the state description pattern in OH 5.? it does seem to be displayed. Chromecast binding - how do people use it? - #35 by Nadahar

I’ve never liked that the stuff pushed by the bindings never show up and was hopeful this was finally addressed. But if it only works for the pattern and not the command options I’d call that a bug.

1 Like

I am not sure what’s the status there

I’m not sure what that means. Wouldn’t the sensible thing to do be to let the metadata the binding pushes be the default, which the user could then modify? Wouldn’t these be “as real” as any other metadata then?