flixlix / power-flow-card-plus

A power distribution card inspired by the official Energy Distribution card for Home Assistant
603 stars 75 forks source link

[FEATURE REQUEST] Adding a reverse order of battery flow #386

Closed Dehumanizer77 closed 1 year ago

Dehumanizer77 commented 1 year ago

I have a Solax X3 G4 inverter which does only have one entity for the current battery charge/discharge, however the values are reversed from what power flow card plus expects (i.e. negative when the battery is discharging and positive when it's beeing charged). Would it be possible to add an option to reverse the values so that it will be displayed correctly in such case?

I might be able to do it myself and send a pull request, but I'm not sure when will I have time for this. That should be a very easy fix so if you would be able to get to it sooner than me, that would be great :-)

flixlix commented 1 year ago

image This is already possible

Dehumanizer77 commented 1 year ago

/o\ sorry for my blidness

flixlix commented 1 year ago

No problem, you're good :)