Hi,
I am trying to use the standard label card as an on/off switch.
component: oh-label-card
config:
item: Gordan_Power
action: toggle
actionItem: Gordan_Power
actionCommand: ON
actionCommandAlt: OFF
background: "=(items[\"Gordan_Power\"].state == 'ON') ? 'Yellow' : 'White'"
title: Gordan
fontColor: white
fontSize: 12px
slots: null
I would like to be able to style the title text / header text on the oh-label-card to change the font size.
Can I override these properties?
If not does anyone have a custom widget similar to the label card I can start editing?
Thanks