To show kWh the battery device needs 2 meter_power capabilities.
See chapter “Home Battery”.
It would need a change of the app. But most manufacturers only provide current power for their devices. In this case, the app just provides all possible data (current kW) without the meter data (kWh)
That’s why I use the HomeAssistant Integration for my inverter and battery and use a integral helper entity to sum up current usage to a meter. Don’t know if PowerByTheHour app also could sum up. But it separated sum gor charge and discharge.