Hi,
maybe I’m blind. I just want to display an Item with its label and icon, as defined in the items config, in the main ui as part of a custom element.
e.g. here is my simple example
- component: div
slots:
default:
- component: Label
config:
style:
color: white
text: "=items['gShutters'].label"
- component: oh-rollershutter
config:
item: gShutters
It’s not a particularly extraordinary example. It is a typical case where the oh-* components are too inflexible (e.g. layout, for instance) and you essentially want to implement a custom solution.
is there any special way to get “base” data of an item?
I’m already tried a workaround with the oh-repeater, but it works not with simple items. only with group items and their children.