Hi everybody,
i recently migrated to openhab3 (from openhab2) and now try to create a simple widget, but something seems to be wrong with my widget code
small note in advance, these are my first tries
the code:
uid: widget_1072814ad7 tags: [] props: parameters: - description: A text prop label: Prop 1 name: prop1 required: false type: TEXT - context: item description: An item to control label: Item name: item required: false type: TEXT parameterGroups: [] timestamp: Feb 8, 2021, 5:41:07 PM component: f7-card slots: content: - component: f7-row slots: default: - component: f7-col slots: default: - component: oh-button config: title: Off action: command actionItem: =(props.item) actionCommand: 0 iconF7: multiply_circle_fill iconColor: blue text: Off - component: f7-col slots: default: - component: oh-button config: title: Ambient action: command actionItem: =(props.item) actionCommand: 1 iconF7: light_min iconColor: blue text: Ambient - component: f7-col slots: default: - component: oh-button config: title: All action: command actionItem: =(props.item) actionCommand: 2 iconF7: light_max iconColor: blue text: All
the preview:
assigned to an item via “Default List Item Widget”:
the result:
thank you very much