State colour for oh-label-item in oh-list-card

You can easily simulate an oh-label-item by just using the more generic oh-list-item and putting a label in the after slot which will give you full control over that text.

component: oh-list-card
config:
  title: Label Demo
slots:
  default:
    - component: oh-label-item
      config:
        item: Switch_MasterBedroomFanLight_OnOff
        title: Light status
        style:
          color: red
    - component: oh-list-item
      config:
        title: Light status
        style:
          color: red
      slots:
        after:
          - component: Label
            config:
              text: =items.Switch_MasterBedroomFanLight_OnOff.state
              style:
                color: red

1 Like