WTH Why does the tile card precision mode have a minimum width?

Ever since the sections view was introduced I wanted to migrate my dashboard. But I’m not able to fit 3 tile card’s next to each other. Every release there a step toward this but never quite there. With the mushroom card it’s possible to set a small width with precision mode but not the tile card.

In the UI, we have safeguards to ensure that the dashboard displays properly, and that includes enforcing a minimum size that a card can display within. If you want to break a card by making it smaller than it should be, you can do so via YAML.

I totally understand the reasoning behind it, but I have to admit, it feels a bit odd that we don’t have the option. I mean, if we have a precision mode that lets us create a tile card that’s 2/3 of the width, why can’t we also have the option to place a card that’s 1/3 of the width next to it?

In the grid card 3 tile cards next to each other look great.

I do not want to use yaml for this so I guess i’l go back to mushroom card.

Thanks for the response.

Do I misunderstand you and you say it is possible to set the size to something smaller than the minimal size via yaml? Because it does not work.

2025-01-10_07-54

type: tile
entity: sensor.sun_next_dusk
grid_options:
  columns: 3
  rows: 1

It’s in the layout for the view. You’re looking at the card itself, which does not have the option.

What do you mean by layout for the view? The only settings there is how many sections columns can be displayed. The size of the individual card is configured in the card code, and indeed it’s ignored if you set it manually to values not allowed in the GUI.

BTW there seems to be no documentation for yaml in sections:

1 Like

By changing min_columns. The default number of columns is 12 and IIRC the min columns is set to 6.

image

Nope

2 Likes

Ah, so an undocumented yaml min_columns. Thanks.

I still don’t get what you meant previously saying it wasn’t in the card itself, while now you showed the code for the card.

The default number of columns is 12 and IIRC the min columns is set to 6.

I think the defaults and limits are set per card type. So it’s going to be different for different card types.

That’s grid code, applied to the card. It was a semantics that probably wasn’t needed.

Regardless, setting it to 1 will get you the smallest value. The default column size for each section is 12.

1 Like