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

Flow Chart is showing wrong value (of entity)[BUG]

Open Surfer2010 opened this issue 1 year ago • 7 comments

Describe the bug The chart displays a constant higher value than the entity itself is. In my case it is about 60 W higher at home than it should be according to the fronius interface and according to the data in homeassistant. Difference grafic <-> data shown on dashboard (real values) seems to be a difference of 50 - 70 W round about.

Expected behavior I expect the entity sensor.wechselrichter_ac_leistung to be shown at the diagram the same as at the raw values.

Screenshots grafik grafik grafik

thanks for your help, great great card and great work !!!

Surfer2010 avatar Mar 05 '24 10:03 Surfer2010

Not sure if my comment is helpful, but I can confirm that for me too: the card always shows a bit greater values than the entity itself.

dynamicpete avatar Mar 14 '24 07:03 dynamicpete

Seems to get worse. Now HOME is always the same as Solar Production: (values are the same as list on the right side) grafik

Surfer2010 avatar Mar 18 '24 12:03 Surfer2010

I observe the same issue! The wrong display of entity values applies only to "home" as far as I see. 2 examples Screenshot 2024-03-26 150507 Screenshot 2024-03-26 150742 A second card (testing) should show the same value for "Home", but does'nt. Note that the refered marked entities are always "sensor.leistung_haus_errechnet". "Solar" shows the correct value for "sensor.leistung_haus_errechnet". Both "power-flow-pus-card"s are showing wrong values for "Home". They also refer to the entity "sensor.leistung_haus_errechnet" Screenshot 2024-03-27 225958 in addition: I am wondering where the name "Zuhause" in the 2.Card ist coming from. I never entered this name into the card.

Next day, sun is shining. "2.Card" has only the basic configuration, no car. The displayed value for "Home" is to high, in the other card the value is to low. grafik

UDicke avatar Mar 27 '24 22:03 UDicke

I believe that I have found the solution for this problem today! @Surfer2010, @dynamicpete would you please check this and confirm that your cards are also working with this. I have read the dokumentation, go to the end... https://github.com/flixlix/power-flow-card-plus?tab=readme-ov-file#home-configuration grafik

So I modified "home" like this: ** home: entity: sensor.leistung_haus_errechnet color_value: true name: Haus color_icon: true subtract_individual: true override_state: true individual: - entity: sensor.2kw_laden_power name: E-Auto 2kW icon: mdi:car**

substract_individual: true as this parameter reads, the individual consumptions like cars or so are substracted from home. I'm very happy with this! Thanks again to @flixlix :-) The result to looks like this: grafik

UDicke avatar Mar 29 '24 11:03 UDicke

@UDicke you are right, "override_state: true" also solved my issue. Thanks for figuring this out!

The RTFM approach probably leads to success more often than I would like to admit ;)

dynamicpete avatar Mar 29 '24 12:03 dynamicpete