Light Widget Cosmetic Help

I’m trying to make a light widget with the title “100%” which turns my light on with brightness set to 100% but I don’t want to see the other parts of the widget i.e. the ± buttons and brightness %. I can get rid of most of the parts but the % symbol for the brightness level won’t change no matter what I do.

couch_100pct:
    widget_type: light
    entity: light.couch
    title: "100%"
    level_up_style: "color: #444"
    level_down_style: "color: #444"
    level_style: "color: #444"
    text_style: "color: #444"
    icon_style_active: "color: #444; top: 10px; font-size: 10%"
    icon_style_inactive: "color: #444; top: 10px; font-size: 10%"
    on_attributes:
        brightness: 255

As you can see, I coloured everything so it blends in with the widget colour so it’s ‘hidden’. I just cant get the ‘%’ symbol for the level to go away.

I though about creating a script in HA and making the widget a script widget, but that seems overkill.

i think

unit: ""

could do what you want

1 Like