ulic75 / power-flow-card

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

Alternative grid sensor is needed #158

Closed Coder84619 closed 1 year ago

Coder84619 commented 1 year ago

I have solar, and my solar combiner box has solar production values (a positive value from 0 and up), and it has consumption sensor as well for total household power usage. This value is also always positive. The amount of power going back to the grid, if any, is solar production minus power consumption. However, as I read the sensors on this card, it will not support this configuration. It wants a consumption sensor that is both positive and negative.

I need a feature that will let me specify household grid consumption (always a positive number) and have the card do the calculation whether my net is pulling from the grid or sending back to the grid.

kpfleming commented 1 year ago

You can create a template sensor which combines your existing sensors, and feed the card with that.