bignumber-card icon indicating copy to clipboard operation
bignumber-card copied to clipboard

Bug in Home Assistant 2022.11

Open mattdevo1 opened this issue 2 years ago • 5 comments

It looks like the default dashboard theme in Home Assistant was changed slightly in in the 2022.11 update, which is causing the Big Number Card to render incorrectly (there is a thin colored bar at the very edge of the card when the value is less than 100%, see screenshot below).

Screen Shot 2022-11-25 at 8 01 38 AM

This happens regardless of the scale, whether you start the bar from the left or bottom, etc. I can't seem to find a configuration option to fix it.

mattdevo1 avatar Nov 25 '22 16:11 mattdevo1

It looks like the default dashboard theme in Home Assistant was changed slightly in in the 2022.11 update, which is causing the Big Number Card to render incorrectly (there is a thin colored bar at the very edge of the card when the value is less than 100%, see screenshot below).

Screen Shot 2022-11-25 at 8 01 38 AM

This happens regardless of the scale, whether you start the bar from the left or bottom, etc. I can't seem to find a configuration option to fix it.

Same here :disappointed:

image

DOMNAD avatar Feb 14 '23 16:02 DOMNAD

I guess the project got abandoned :(

Since I'm only using it in a specific dashboard, I changed the whole dashboard to an old theme which doesn't include the latest lovelace layout changes.

image

igorsantos07 avatar Feb 24 '23 04:02 igorsantos07

Is this project really dead ? someone who can debug this problem ? thanks

Zeronozero avatar Jul 02 '24 12:07 Zeronozero

I found a solution. Add this in your theme

My Theme:
    # colonnes
    ha-view-sections-column-gap: 8px #optional, this is for the column space in the new experimental section
    ha-card-border-width: 0px
    modes:
        light:
            ha-card-box-shadow: '0px 0px 0px 1px rgba(0, 0, 0, 0.12)'
        dark:
            ha-card-box-shadow: '0px 0px 0px 1px rgba(255, 255, 255, 0.12)'

Zeronozero avatar Jul 09 '24 05:07 Zeronozero

I found a solution. Add this in your theme

My Theme:
    # colonnes
    ha-view-sections-column-gap: 8px #optional, this is for the column space in the new experimental section
    ha-card-border-width: 0px
    modes:
        light:
            ha-card-box-shadow: '0px 0px 0px 1px rgba(0, 0, 0, 0.12)'
        dark:
            ha-card-box-shadow: '0px 0px 0px 1px rgba(255, 255, 255, 0.12)'

Ah man, thank you for figuring that out!

You can also implement this with card mod, here's what I did:

card_mod: style: | ha-card { border-width: 0px }

Although I guess that removes the border, which means this card looks different to the other default cards...Hrmm, not a great fix to be honest.

mattdevo1 avatar Jul 09 '24 16:07 mattdevo1