Building Pages in the OH3 UI: documentation draft (2/3)

Hi @RGroll

Yes, I’m using the ‘oh-label-card’. Not sure I quite understand that content part? Do you mean with the standard widget I can only change the background color of the text itself? Rather than the whole box?

This is my YAML for the widget:

component: oh-label-card
config:
  title: Presence
  item: Presence
  background: "=(items.Presence.state == ON) ? '#4cd964' : '#ff3b30'"
  icon: oh:presence

Thank you!