panbachi / tankerkoenig-card

Lovelace-Card for Tankerkoenig-Component
MIT License
16 stars 13 forks source link

Change digits in price #11

Open KrX3D opened 2 years ago

KrX3D commented 2 years ago

Hello,

i would like to change the digits after the Point.

i.e. Price is 1.699€ -> 1.69€

EDIT: also is there a way to have the name Multi Line? like with
or /n ?

KrX3D commented 2 years ago

i changed line 106 to:

`

${state.state.slice(0, -1)}€;

and now i get 2 digits after

now i made some more changed:

https://github.com/KrX3D/tankerkoenig-card

i changed "name" to "street" and "city" and with this i added "multiline"

image

it would be nice if you could add those into your reposity. thanks

EDIT:

What changed in my fork: