Is there also a way to center the chipcard (vertically seeing) next to a title card? I cant see anything about alignment in the chip card documentation. Now if I place a chipcard next to a title card. The chipcard is slightly above center.
If you add outlines to each of the card you would see what the actual issue is. it is because the chip card doesnt have the same height at all as the title card. so we first need to ensure that this is the case. so we set the height to 100% so that it takes up the maximum space. the chips also live in a container that then also needs to be the same height as the card. so set to 100% too. we can then align the items to the center. if we did it before without changing the heights nothing would happen as the card is basically the same height as the chip already.
type: horizontal-stack
cards:
- type: custom:mushroom-title-card
title: Livingroom
card_mod:
style: |
ha-card {
outline: blue solid 1px !important;
}
- type: custom:mushroom-chips-card
chips:
- type: entity
entity: sensor.alarm_time
alignment: end
card_mod:
style: |
ha-card {
outline: red solid 1px !important;
height: 100%;
justify-content: center !important;
}
.chip-container {
height: 100%;
border: green solid 1px !important;
align-items: center !important;
}
try it without the heights being set and see what it looks like. you can see what is happening with the outlines there.
Hi Dimitri,
Iām not finding what Iām looking for, hope you can help.
is it possible to modify the ābuttonā part in the number-card?
I would like to change the font-size, background-color, etcā¦
Yes, and i am very surprised that this hasnt been pointed out by anyone before. looks like i mistakenly have said that the number card does not have buttons. that is just plainly wrong, so ill have to update that section
first of all thank you for this page, because it helped me already a lot to customize the mushroom cards to my needs. With one thing I still struggle unfortunately. Is it also possible to change the width of all the chips in the chips card? I want that they have the same width independent of the content in the chips.
When I do it this way the font size and color is not working. Must be something I am doing wrong but I tried many different combinations but I canāt figure it out.
When I do this it creates an extra border around my weather chip, it does not replace the border that is already there. And I actually want to remove my border but I have no luck with that either
Template card with vertical layout.
Iām looking to bring the Off (primary) up closer to the bottom of the button and struggling.
Any help is appreciated. Thanks!
Hi guys
I have this interesting problemā¦ I would like to animate a chip card with the condition.
If I write the script like this, the icon is displayed when āinput_boolean.vd_testā is turned on, but the animation does not work
Does anyone know where the problem might be?
I am redesigning a mobile dashboard and would like to display chip cards based on conditions. Of course animated icons
For example, if the washing machine is on, show the icon and animate it.