Small simple gray/colour switch for MainUI?

  • Platform information:
    • Hardware: RPi 4 4GB
    • OS: openhabian
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version: 3.3

Is there a small, simple ON/OFF switch which change colour from gray OFF to colour ON icon ?
I want create 4 small switches without any text in one row with simple icons - christmas tree, star or kettle etc.

You can use a label widget with an action to command the Item. Use expressions to change the color of the widget based on the state of the Item.

Do you think about LABEL CARD or a different one?

It depends on the context. If you want it to stand alone on a Page you’d use the card. If it’s a row in a List Card (e.g. on the overview pages) you’d use a label item.