thomasloven / lovelace-auto-entities

🔹Automatically populate the entities-list of lovelace cards
MIT License
1.18k stars 111 forks source link

show_empty in Sections view #433

Open woniol opened 3 months ago

woniol commented 3 months ago

If _showempty is set to false, card is shown in the Sections view, taking additional space. Not sure if this is for auto-entities card or the new Sections view case?

luisleonardo commented 3 months ago

I can confirm and provide a screenshot.

The space in the middle is created by 6 card with "show_empty: false".

image

Drun555 commented 2 months ago

These gaps driving me crazy. It seems more like Sections bug due same situation with conditional card right now.

🙏 IMG_6983

luisleonardo commented 1 month ago

Any news? I still can't use the sections due to this bug and I don't even know if the problem is from auto-entities or Lovelace :(

spartan117aut commented 1 month ago

Hi @thomasloven, I have the same problem. The problem with conditional cards has been fixed here, but empty auto-entities cards still occupy space. See attached screenshots.

Edit mode: image

Actual display: image

igorsantos07 commented 3 weeks ago

I was going to open a bug on HA, as a follow-up to https://github.com/home-assistant/frontend/issues/20352 (where they state the solution for the problem is using the new Visibility option, but that effectively causes us to recreate and duplicate the filters from auto-entities; not a solution). My thesis was that they should reduce --row-height and/or make it themeable, so we can fix it for our specific scenarios...

However, while writing it, I realize the default entities-filter does not show this behavior. Thus, I guess this is a bug with this custom card, which should not generate an empty card component on the UI (instead of generating an empty one). image