Te use of the 'Production power' sensor in HomeWizrad integration

In the Homewizard integrations, when using Homewizard battery devices, it includes the ‘Power’ and ‘power production’ entities.

image

In this case the battery is charging 360 W. I am trying to understand why in this case the production power is -360 W. Shouldn’t this be 0? What is the added value of adding the ‘production power’ entity? Because in this case the ‘power’ entity would be sufficient as it can both positive as negative.

In the documentation it mentions that the valuers can be negative:

so apparently this is expected behaviour. I understand that the ‘power’ entity is useful as this could be used in a energy chart. But the ‘production power’ is in this case always the opposite, while you would want that is only positive when discouraging.

Can someone explain me why this is done in such a way?

In the meantime I have made my own helper templates that determines the charging and discharging:
image