lovelace-paper-buttons-row
lovelace-paper-buttons-row copied to clipboard
Can't use a <br> for a new line in the name
I am trying to use <br>
for a new line in the name of the individual entity buttons of the card and I am getting an area. Can that be done or does it have to be done a special way?
Hi, did you get anywhere with this??
Would you be able to provide an example configuration so I can test it and better understand what you're trying to do?
@jcwillox I apologize for the delayed response and I actually forgot the exact scenario in which I encountered the issue but it was similar to my example below. The paper-button-row will auto wrap the text to the next line depending on the space available however the issue I ran into was for a specific situation in which I wanted to control the wrap and I felt using a line break command was the better option to space out the name. An example of another card that does this is RomRIder's button-card. The button-card accepts the line break command and by doing so it allows the user a little more customization and the ability to manually control the wrapping of the text entered within the name field.
`type: entities entities:
- type: "custom:paper-buttons-row"
buttons:
- entity: light.kcl_local layout: name_state name: Kitchen Lights
- entity: light.lrcl_local
layout: name_state
name: Living Room
Ceiling Lights - entity: light.bcl_local layout: name_state`
Hi! what is the status of this problem? I would also need line break... Thanks!