ulic75 / power-flow-card

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

Power flow confused #83

Closed Yagu-znal closed 2 years ago

Yagu-znal commented 2 years ago

First let me thank you for your amazing work. I'm currently using 2 of your addons.

The algo does not seem to be able to figure out where the energy is flowing though from the numbers, is't quite clear. Is it because the "home" values are not supposed to go negative? There's no off-grid mode yet?

image image image image

ulic75 commented 2 years ago

By default negative numbers for grid and battery indicate that power is being sent to those entities. So negative for battery would mean that the battery is charging.

However, not everyone's systems behave that way. The easiest way to resolve this is to use the inverted_entities option to list your inverted entities as seen in this example.

Yagu-znal commented 2 years ago

Thanks for the help @ulic75. Inverting the battery values worked. You can close or remove this non-issue.