#(Solved) Changing displayed title on -entity on card + button

1 messages · Page 1 of 1 (latest)

novel sand
#

EDIT: I might have read the doc for mushroom cards configuration variables instead of horizontal stack card. The latter does not state anything about a name variable for lovelace. I will leave this post as it's unsolved for now (not sure what is possible or not) and how to solve it.

I want to shorten the text on the left side of the card, and remove the text completely on the right side and if possible replace the PRESS text with RESET

Tried to add -name: shortertext after the entity with indentations/ no errors and saving but nothing happens. Going back into the code editor again my addition is gone.

Is it possible to do this?

novel sand
#

I was able to change the name in the left column, I was not able to hide the name or icon in right column. Renamed it to ".". Was also not able to change the PRESS text to RESET.
The text for the left column is still to large to present in addition to above i am thinking of a card with different widhs of the columns or if possible nest a CHIP card with a press action 4 buttons below instead.

haughty solstice
#

Personally I would use a mix of layout-card and mushroom template cards to get this looking nice

#

You could have it just display RESET, but I prefer the icon

#

Also - there's definitely better ways to do the layout-card side of things (e.g. you don't actually need to have vertical stack cards in there, I was just being lazy)

#

And because it's a template display, you can use the truncate(length) filter quite happily

haughty solstice
novel sand
#

Doh, solved thought I had to use layout:type masonry change to custom:grid-layout works perfectly.

#

(Solved) Changing displayed title on -entity on card + button