Setting up Home Battery in Energy section

The Battery section wants three sensors:

  • Charging, measured in watt-hours
  • Discharging, measured in watt-hours
  • Power, measured in watts

The power one is straight-forward.

However, I have no idea what "energy flowing into the battery measured in watt-hours" is supposed to mean? Energy flow is measured in watts, not watt-hours. Does it want the battery state of charge? Does it wanting the total charge/discharge over a period? What period?

Power is measured in watts. Energy is measured in watt-hours.

It's similar to all the other sensors, it wants a sensor that tracks a cumulative charge or discharge.

The period of the entity (lifetime, daily, monthly) doesn't really matter as the statistics engine reverses that out and generates a lifetime accumulation from it, and then uses that as the basis of all the further calculations.