lovelace-layout-card icon indicating copy to clipboard operation
lovelace-layout-card copied to clipboard

Top badges are not diplayed in masonry layout

Open OToussaint opened this issue 2 years ago • 5 comments

My Home Assistant version: 2022.8.7

Layout-card version 2.4.2

What I am doing: Using the custom:masonry-layout as view type

What I expected to happen: See badges at the top of the page

What happened instead: No badges are displayed

# The least ammount of code possible to reproduce my error

title: Home
views:
  - title: Heater
    type: custom:masonry-layout
    badges:
      - entity: sun.sun
    cards: []

# End of code

Error messages from the browser console: None


By putting an X in the boxes ([X]) below, I indicate that I:

  • [X] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
  • [X] Have made sure I am using the latest version of the plugin.
  • [X] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
  • [X] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.

OToussaint avatar Sep 04 '22 10:09 OToussaint

This was quite unexpected. I've been using the layout-card for quite some time now, and decided to add some badges with filters. I was really puzzled for some time, trying to debug the filters and entities I included lol

I should add this happens with any layout mode, not only with Masonry.

igorsantos07 avatar Oct 18 '22 05:10 igorsantos07

Sadly, it seems this priejct got abandoned shortly after these last bug reports :(

igorsantos07 avatar Feb 02 '23 05:02 igorsantos07

Badges do not display in any of the layouts. Just wanted to follow this in case it gets looked at.
I hope this project is not abandoned, but it looks like it may have been :(

austwhite avatar Nov 25 '23 13:11 austwhite

I can't speak for that author, but I assume this is by design. To get your badges (and put them wherever you want), use the same author's badge card: https://github.com/thomasloven/lovelace-badge-card

ConorIA avatar Mar 02 '24 15:03 ConorIA

Yes, but no. The badge card is a card, I can't put it on top of the page, centered, as usual. Yes it is "flexible" but not as much as it should then.

OToussaint avatar Mar 03 '24 13:03 OToussaint