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] Fossil fuel secondary info is missing decimals #347

Closed
4 tasks done
cpohli opened this issue Aug 3, 2023 · 0 comments · Fixed by #367
Closed
4 tasks done

[BUG] Fossil fuel secondary info is missing decimals #347

cpohli opened this issue Aug 3, 2023 · 0 comments · Fixed by #367
Labels
bug Something isn't working

Comments

@cpohli
Copy link

cpohli commented Aug 3, 2023

Describe the bug
If i display a secondary info in the "fossil fuel percentage" ring, this data is missing the decimals i specified.

Expected behavior
Display decimals according to "decimals: x"

Additional context
Also: if i display the percentage of the sensor (which is giving me "percentage of fossil used") it is not "non fossil" as labeled and i end up with two mixed fields (power is in W and correct for "non fossil", percentage is "fossil").
So i have to use an extra template sensor (100% minus fossil%-sensor) to get the "non fossil" percentage to display.
Perhaps this could also be calculated automatically?

Please make sure all of this applies and check the checkboxes, by writing "X" inside of them.

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

  • I have the latest version of the card installed.

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

  • 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.

@cpohli cpohli added the bug Something isn't working label Aug 3, 2023
@flixlix flixlix linked a pull request Sep 8, 2023 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