home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.64k stars 30.79k forks source link

Section consisting of only a single glance card does require extra space. #130350

Closed mmierke closed 2 days ago

mmierke commented 2 days ago

The problem

I would like to achieve something like this grafik with sections only.

However, whenever I would like to build a section containing only a single glance there is a lot of extra space used by the section grafik grafik I tried to change the size of the section

This is the yaml created by the gui type: grid cards:

If I reduce the columns from 3 to 1 only the glance gets condensed.

Besides that, it looks like the sections are not using the whole width of the screen.

What version of Home Assistant Core has the issue?

core-2024.11.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

type: grid
cards:
  - show_name: true
    show_icon: true
    show_state: true
    type: glance
    entities:
      - sensor.other_consumers_power
      - sensor.dc_power_calc
      - sensor.daily_incoming_energy_calc
    columns: 1
    grid_options:
      columns: 3
      rows: auto

Anything in the logs that might be useful for us?

No response

Additional information

I aim to receive a similar result as in the 1st image without using the layout card.

joostlek commented 2 days ago

Please raise this at https://github.com/home-assistant/frontend, since its a frontend issue

mmierke commented 2 days ago

Done

joostlek commented 2 days ago

Thanks! Let's close this one then