I have some string items that I do set in a rule. The items display fine in MainUi, but they don’t in BasicUi.
I have to add a StateDescription meta data with pattern %s to every item, so that is gets displayed in BasicUi.
Why is this? A pattern of %s looks very unnecessary for an item of type string…
These are my items in MainUI:
masonry:
- component: oh-masonry
slots:
default:
- component: oh-label-card
config:
item: RobbiSensor_StateString
title: Aktueller Status
icon: oh:lawnmower
- component: oh-label-card
config:
item: RobbiSensor_LastChargeCycle
title: Dauer des letzten Aufladens
- component: oh-label-card
config:
title: Dauer der letzten Ausfahrt
item: RobbiSensor_LastMowCycle
These are my items in BasicUI:
Frame label="Robbi" {
Text item=RobbiSensor_StateString
Text item=RobbiSensor_LastChargeCycle
Text item=RobbiSensor_LastMowCycle
}
All items show up in MainUI, but only the “StateString” shows up in BasicUI, because this is the only one, that has the StateDescription.