TeslaLogger
TeslaLogger copied to clipboard
No currency conversion!?
Describe the bug Journeys sum up the charging cost regardless of different currencies. Obviously, the charging session does not provide a field for currency conversion (either manually or automatic). Thus all charing costs are simply totaled without converting it to a common currency.
To Reproduce
- Use different currencies in your charging sessions.
- Create journey containing those charging sessions
- Look at total "Charging costs" in the Journeys table.
Expected behavior
An additional field is required for a charging session to provide a proper currency conversion.
This could be an additonal "cost_converted" field in chargingstate
that allows to store the costs in the native currency, which is either set manually via the "Charging Costs" form, or computed through automatic conversion against some public conversion tables.