Skip to content

YamlStatusCard

olialb edited this page Jun 8, 2026 · 1 revision

Status slots of screensavers

Each screensaver as two additinonal status slots on th upper left and right corner:

image

By default a red and yellow warning icon can be shown. You can switch them on and of by using the wwo MQTT topics status_left and status_right

You can also show the status of openHAB items in this two slots. For this you need to define a special card of type statusCard. The statusCard has one additonal card attribute:

There is one additonal card attribute to control the size of the icons in grid cards:

card attribute default value from skin file optional / Mandetory Description
iconSize small O icon size: small, medium (for the fonts 1,3 from here UI fonts)
cards:
  - name: MyStateCard   #free name of the status card. Rename it to "_default_status_" to make this card the default state card
    type: statusCard
    slots: #2 slots must be defined in a statusCard
      - class: ohItem #left upper state slot
        text: =itemState #the state of the item will be shown as text after the icon
        type: light
        item: Switch_Kugellampe
      - class: ohItem #right upper state slot
        text: =itemState
        type: text
        iconColor: green
        icon: heat-wave
        item: H_Schlafzimmer_Temperatur

You can activate this card over an MQTT command to status_card or you rename the card to default_status than your statusCard is active by default:

image

Clone this wiki locally