Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
starsalmon opened this issue Apr 26, 2024 · 0 comments · Fixed by #614
Open

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

starsalmon opened this issue Apr 26, 2024 · 0 comments · Fixed by #614
Labels
bug Something isn't working

Comments

@starsalmon
Copy link

starsalmon commented Apr 26, 2024

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
#31

Space appears on all clients

  • [ x] I understand that this is a channel for reporting bugs, not a support forum (If you need help configuring the card, go to: Discussions).

  • [ x] I have the latest version of the card installed.

  • [x ] I have cleared my browser cache after installing, updating and configuring the card.

  • [ x] The issue is not related to the UI-Editor not being rendered: "s.entries is not a function". This is a known bug, and is caused by Card Mod. Check the warning this readme section for more information on how to fix it.

@starsalmon starsalmon added the bug Something isn't working label Apr 26, 2024
@starsalmon starsalmon changed the title [BUG] [BUG] White space cannot be removed for battery state of charge Apr 26, 2024
@flixlix flixlix linked a pull request Apr 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant