flixlix / power-flow-card-plus

A power distribution card inspired by the official Energy Distribution card for Home Assistant
501 stars 59 forks source link

[BUG] White space cannot be removed for battery state of charge #612

Open starsalmon opened 2 months ago

starsalmon commented 2 months ago

Describe the bug White space cannot be removed for battery state of charge, seems to have worked in previous versions.

To Reproduce Steps to reproduce the behavior: battery: name: Battery ... show_state_of_charge: true state_of_charge_unit_white_space: false state_of_charge_unit: '%'

Expected behavior State of charge should be shown like 61% instead of 61 %

Screenshots Can see the issue here, earlier posts have no space, later ones do https://github.com/flixlix/power-flow-card-plus/discussions/31

Space appears on all clients