Openhab oh-label-cell action not called when used in custom item

Hello,
this button
image
should show statistics in a popup when the 3 dots are clicked and show the charts of items in a group when the button itself is clicked.
The statistics popup does work, the analyzer call not.

The code of the custom widget is:

uid: my-heating-actor-diagnose
tags: []
props:
  parameters:
    - label: title
      name: vTitel
      required: false
      type: TEXT
    - context: item
      description: Group containing valve status items
      label: valve status items group
      name: grpStellwerte
      required: true
      type: TEXT
    - context: item
      description: Group containing status text items
      label: status text items group
      name: grpDiagnoseTest
      required: true
      type: TEXT
  parameterGroups: []
timestamp: Apr 18, 2022, 11:45:54 AM
component: oh-label-cell
config:
  action: analyzer
  actionAnalyzerItems: Heizung_Stellwert_OG_Buero
  footer: Durchschnittswert
  icon: oh:status
  item: gHeizung_Stellwerte
  title: =props.vTitel
slots:
  default:
    - component: Label
      config:
        text: FBH Aktoren Stellwerte
        style:
          padding-left: 15px
          font-size: 17px
          font-weight: 600
          margin-top: 20px
    - component: oh-list
      slots:
        default:
          - component: oh-repeater
            config:
              for: item
              groupItem: =props.grpStellwerte
              sourceType: itemsInGroup
            slots:
              default:
                - component: oh-list-item
                  config:
                    after: =(items[loop.item.name].state + 10)
                    style:
                      width: 400px
                    title: =loop.item.label
    - component: Label
      config:
        text: FBH Aktoren Diagnose
        style:
          padding-left: 15px
          font-size: 17px
          font-weight: 600
          margin-top: 20px
    - component: oh-list
      slots:
        default:
          - component: oh-repeater
            config:
              for: item
              groupItem: =props.grpDiagnoseTest
              sourceType: itemsInGroup
            slots:
              default:
                - component: oh-list-item
                  config:
                    after: =items[loop.item.name].displayState || items[loop.item.name].state
                    title: =loop.item.label

Thanks
Marco

The actionAnalyzerItems property requires a list, even if you are only using one item. In this case, the easiest thing to do is just put brackets around your item name:

actionAnalyzerItems: [Heizung_Stellwert_OG_Buero]
1 Like

Hi Justin,
thank you very much!
Right now I have it like this:

  actionAnalyzerItems: [
    Heizung_Stellwert_KG_Werkstatt, 
    Heizung_Stellwert_KG_Vorrat, 
    Heizung_Stellwert_KG_Wellness, 
    Heizung_Stellwert_KG_Gang,
    Heizung_Stellwert_EG_WC,
    Heizung_Stellwert_EG_Kueche,
    Heizung_Stellwert_EG_Essen,
    Heizung_Stellwert_EG_Wohnen,
    Heizung_Stellwert_EG_Zimmer,
    Heizung_Stellwert_OG_Tim,
    Heizung_Stellwert_OG_Buero,
    Heizung_Stellwert_OG_Eltern,
    Heizung_Stellwert_OG_Bad,
    Heizung_Stellwert_OG_Diele
    ]

I hope that in future releases of OH3 a group can be specified.