Hi at all!
I’m creating new widgets for my smarthome.
Now i build a custom widget with some informations on the widget itself.
But i’m looking for a solution to get a popup of the group-items as the installed widgets of OH3.
I didn’t know, where and how i have to picked the action: popup and actionGroupPopupItem: BMW_iX3
This is my code:
uid: BMW-Card
tags: []
props:
parameters:
- description: Name des Fahrzeugs
label: Fahrzeug
name: title
required: false
type: TEXT
- context: item
description: Kilometerstand
label: Item
name: kilometerstand
required: false
type: TEXT
- context: item
description: Batteriestatus
label: Item
name: batterie
required: false
type: TEXT
- context: item
description: Reichweite
label: Item
name: reichweite
required: false
type: TEXT
- description: Bild des Fahrzeugs
label: Bild mit Suffix
name: bild
required: false
type: TEXT
parameterGroups: []
timestamp: Feb 3, 2023, 2:32:55 PM
component: f7-card
config: {}
slots:
default:
- component: f7-block
config:
style:
min-height: 200px
background: url(/static/bmw5.jpeg)
background-size: cover
background-position: left
border-radius: 12px
display: flex
flex-direction: column
align-items: start
slots:
default:
- component: Label
config:
text: =props.title
style:
color: black
margin: 0px 15px
font-size: 28px
font-weight: bold
- component: oh-link
config:
text: =items[props.kilometerstand].state
iconF7: timer
iconSize: 20
color: yellow
style:
margin: 0px 90px
font-size: 20px
font-weight: bold
- component: oh-link
config:
text: =items[props.batterie].state
iconF7: battery_25
iconSize: 20
color: yellow
style:
margin: 0px 90px
font-size: 20px
font-weight: bold
- component: oh-link
config:
text: =items[props.reichweite].state
iconF7: compass
iconSize: 20
color: yellow
style:
margin: 0px 90px
font-size: 20px
font-weight: bold
- component: oh-link
config:
action: group
actionGroupPopupItem: BMW_iX3
Hope, that someone can help me.
Thanx