Sort Main UI semantic model

Hey,

dont know if this is the right place.

I would like to order the equipments within the auto generated location tiles:

Its working if i rename groups with leading “Z” to move to the bottom but thats not really beautiful.

Is there a better way to do this?

I don’t remember when this was imeplemented (I think around OH 4.0) but there is a “Default Widget Order” Item metadata which you can use to control then order Items appear in the overvie cards.

Order index to give to the item’s default widget when it is to be displayed in an automatically generated list with other items (semantic cards, group popups…), unless the order is explicitely configured.

Lower integer values promote items to the top, higher ones push them to the bottom. Those without an index set will be presented last, in alphabetical order.

3 Likes

Exactly what I searched for, thanks a lot for the fast response!

Is there another metadata for conditional hiding equipment?

I’m not sure if you can do it on the equipment level.

At the Point level you can set the “default list item metadata” where you can define what widget gets shown for the Point in the Overview tabs. There’s a visibility property which can take an expression.

1 Like

There is also a sort order for the menu order of the pages on the side bar under the side bar and visibility section.

1 Like