Item listWidget visibility, keep all other metadata to default

Openhab 3.2

I’m trying to set the visibility of a Group Item (in list view), depending on the state of another Item as described as a workaround for “too many Points per equipment”

here

This works…

… but only after re-specifying all default-settings of the Group Item (like widget, action, action Item, …)

Group cuv_m "Dishwasher Measurements" <measurement> (cuv) ["Point"] {
  widgetOrder=20,
  listWidget="oh-label-item" [
    visible="=items.cuv_.state=='ON'",
    action="group"
    actionGroupPopupItem:="cuv_m"
  ]
}

If I skip the default Items

Group cuv_m "Dishwasher Measurements" <measurement> (cuv) ["Point"] {
  widgetOrder=20,
  listWidget="" [
    visible="=items.cuv_.state=='ON'"
  ]
}

it doesn’t work.
Is there a way to avoid, this since it potentially makes the maintenance of that item a lot more difficult.

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