Problems with custom card “Person Info Card” #1017
-
Hello, I would like to modify the custom_card “Person Info Card” of UI Lovelace Minimalist. (Person Info Card - UI Lovelace Minimalist) I would like to add a watch icon with its battery percentage. I managed to add it but it’s impossible to position it well. I would like the icon of the phone, the watch and the bus to be on the same line. Here is the code of the card:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi, I see that you didn't define the styles:
grid:
- grid-template-areas: >
[[[
return variables.ulm_multiline
? "'i n' 'i l' 'battery watch commute'"
: "'i n battery' 'i l watch'"
]]]
- grid-template-columns: >
[[[
return variables.ulm_multiline
? "min-content auto"
: "min-content auto min-content"
]]] I only have adjusted it for the multiline function for now. |
Beta Was this translation helpful? Give feedback.
-
I kinda feel like this should be added to the person card template so you don't have to add it manually. I think quite a lot of people are interested in viewing their wearable battery on their card |
Beta Was this translation helpful? Give feedback.
Hi,
I see that you didn't define the
commute
part in your grid.I only have adjusted it for the multiline function for now.