As a long-time user of badges, I like all the flexibility the new badges will have with the exception of the fact they will be significantly wider.
I use badges because they’re narrow and several can be placed on a single line that easily fits within the bounds of a phone’s screen (without wrapping).
The new badges don’t appear to offer the ability to strip them down to a narrow format (certainly not as narrow as existing badges). It seems like the icon is mandatory and text can only appear beside the value.
It would be appreciated if the new badge’s options offered a means of replicating an old badge’s compactness (with no or minimal loss of information).
since I have no hopes this design choice will be reverted (and probably cant expect the new design to mimic the old) I guess we could make an effort displaying that identical info, in an even better way using a custom:button-card.
You could easily setup a grid of lets say 8 and have them show that info, and what’s more, template anything you see, from state, name, unit, to action and color etc etc
you would need the custom card , not sure if you’re open to that?
a very quick mockup:
The new Badges should really be named Pills, suits much better and allows for the old Badges to still be available for those who favor them.
Also please make the new ‘Pills’ usable everywhere on the dash and not only in the header. Would be nice to be able to include these in/on other cards or make them dividing ‘rows’ between other cards.
I’m either the only one or a lot of people have this issue with the grid: I have a lot of dashboard items that are an odd number of items across when using mushroom. I’m kinda forced into 2x2 for these situations. I hate how it can’t deal with resizing 3 items. I get it: grid. I don’t think that can be solved.
The width of the new badges that appears to be at least twice as wide as the old ones (because the icon seems to be mandatory according to the beta docs) and even wider if a title is included (because it appears beside the value).
I will tinker with it this weekend and see what I can do.
@madelena Tip: Screenshots says more than a 1000 words…
But from my opinion: I’m happy to see that decisions are made and HA is moving forward. I would love to see the old version of the “redesigned” cards move to HACS rather than being in core.
HA core should provide all the functionality and flexibility which is needed to make your own cards, override the existing cards in design/style and perhaps structure.
Without having the guts to break things (although it should be documented properly, and moved to HACS) HA core card-design and user experience will not be better in the future.
Personally, I hate it that I have to rely on 3rd party cards provided by HACS… But perhaps that was a design decision made in the past. Although, I think that the tile-card could be the Swiss army knife of cards, when all features are available to use, and - perhaps more importantly - the presentation (design => CSS) and structure (HTML/JS) of any card could easily be overridden and adjusted without the need of 3rd party integrations like mod_card, or anything else. This should be basic functionality provided in core, where the UI needs to make a place to be able to change things directly…
btw Ive put together the instructions in Custom badge | Home Assistant Developer Docs to make this js script. However, because of the fact the js file for the editor does not exist the card wont get created.
Ive commented the import line and that makes the bare metal card appear, albeit not in an editor/card-picker ofc.
if anyone cares to join me on this, please do, maybe we can create something of it in this beta cycle I’ve opened a repo here which is terrible as of yet, but probably easiest to cooperate on this