power-flow-card-plus icon indicating copy to clipboard operation
power-flow-card-plus copied to clipboard

[BUG] Fossil Fuel Dots are shown when Lines are transparent, though the value is zero

Open Matze-aaa opened this issue 2 years ago • 5 comments

Describe the bug Fossil Fuel Dots are shown when Lines are transparent, though the value is zero

To Reproduce Steps to reproduce the behavior: Advanced Options - Display zero Lines - Transparency

Expected behavior Fossil Fuel Dots are not shown when the value of the used entity is zero.

Screenshots image when zero Lines are "hidden", then the behavior is ok: image

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

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

Matze-aaa avatar Apr 18 '24 16:04 Matze-aaa

fixed in #588

flixlix avatar Apr 21 '24 15:04 flixlix

sorry, no it isn't. see https://github.com/flixlix/power-flow-card-plus/pull/588#issuecomment-2073353021

Matze-aaa avatar Apr 23 '24 20:04 Matze-aaa

Oh yeah, forgot to compare with display zero tolerance, was only comparing with 0 😅

flixlix avatar Apr 23 '24 20:04 flixlix

I'll fix it in the next version

flixlix avatar Apr 23 '24 20:04 flixlix

I guess, that there is something more wrong. Because when there is a little export (and for sure no import), the dots are shown, too. image

Matze-aaa avatar Apr 26 '24 19:04 Matze-aaa