Expander (Collapsible) Card

a) Create a feature request for the default title card
b) use e.g. a mushroom-template-card as title card and then you can use card mod
see Mushroom Cards Card Mod Styling/Config Guide

Bildschirmfoto 2024-06-12 um 09.34.53


        title-card:
          type: custom:mushroom-template-card
          primary: "Räume"
          icon: "mdi-broom"
          icon_color: "blue"
          card_mod:
            style: |
              ha-card {
                background-color: #002f7a;
              }

card_mod i knows, but this is not possible when i wanna it only when the card is expand, but i create a feature request

Is your picture from another integration or you just hover over it during the picture?

it is from an other integration to visualise

Which integration? Maybe I can look there for a solution

Collapsable cards

Mhm can you not send just a link? :smiley:

1 Like

Any way to make the expander card smaller? There’s way to much space between the expander and the bubble separator card under it right now.

Yes you can play with the different margin options. See in the README the table with all options

Thank you, played around with it and thought i had tried it all. I’m the one who wrote on Github earlier about the refreshing by the way. Found out that i had the other expander card. Your version is working like it should.

That’s what @paddy0174 said. Maybe I should start a new Thread :wink:

1 Like

Created new topic here: Expander | Accordion | Collapsible Card

1 Like

Can you share a code ?

Is it just me or after the update to 0.1.0 it doesn’t work? It doesn’t recognize the custom element…

2 Likes

Updated and broken here too. I’ve checked config and all looks good.

Got it working post 0.1.0, added /local/lovelace-expander-card.js to resources. I think the “lovelace” bit was the bit missing

2 Likes

where did you add that?

Click on the pencil ( right top side of your dashboard (edit dashboard), than click on 3 dots and go to manage resources, add link and it will be JavaScript module. Done

1 Like

since the update the card always takes a few seconds to load. anyone knows what´s causing this?

image