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] Negative numbers shown as positive #549

Closed Mats1717 closed 2 months ago

Mats1717 commented 2 months ago

Hi Secondary info on grid is still not showing negative numbers. Have a sensor my total import export that is showing negative if I exported more than imported. Right now is sensor -3,6 kWh but it show only 3,6. If I click on secondary it shows -3,6.

Regards Mats

flixlix commented 2 months ago

Did you enable the accept_negative option?

Mats1717 commented 2 months ago

Where do I find that. Must have mist that function?

flixlix commented 2 months ago

Should be available in you ui editor in the grid -> secondary subpage:

image

Or if you are using the yaml configuration:

Screenshot 2024-04-14 at 15 39 53
flixlix commented 2 months ago

I kept this feature as false by default to avoid breaking current configs

Mats1717 commented 2 months ago

I dont see that. Skärmbild 2024-04-14 160706

flixlix commented 2 months ago

Can you check what version is shown in your browser console?

Mats1717 commented 2 months ago

V0.2.0 from today. been on beta for some weeks but same there.

Mats1717 commented 2 months ago

Alll setup here Power flow plus.txt

flixlix commented 2 months ago

V0.2.0 from today. been on beta for some weeks but same there.

Is that the version really shown in the browsers console? Seems like some caching going on, because the v0.2.0 (no the beta) has this toggle in grid/secondary

Mats1717 commented 2 months ago

Same om PC, iPad, iPhome. Maybe uninstall and install again? Skärmbild 2024-04-14 162944

flixlix commented 2 months ago

https://help.planday.com/en/articles/30207-how-to-open-the-developer-console-in-your-web-browser

check if in here, you are getting this:

image
Mats1717 commented 2 months ago

It say V0.2.0 beta for mee

flixlix commented 2 months ago

In that case you probably just need to clear your browser cache and refresh the page. https://support.google.com/accounts/answer/32050?hl=en&co=GENIE.Platform%3DDesktop