Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE-434] Increase charge cost scale / kWh #440

Merged
merged 1 commit into from
Feb 12, 2020

Conversation

baylanger
Copy link
Contributor

@baylanger baylanger commented Feb 12, 2020

@adriankumpf - I had a few things to fix on my Mac, all done and got my dev env up & running.

Before making my changes, I added a geo-fence location with a cost price of 0.05

I made my changes and the database modify automatically reflected the adjustment from "0.05" to "0.0500".

 id | name | latitude | longitude | radius |     inserted_at     |     updated_at      | cost_per_kwh
----+------+----------+-----------+--------+---------------------+---------------------+--------------
  1 | test |        0 |         0 |     20 | 2020-02-12 06:12:17 | 2020-02-12 06:12:17 |       0.0500

I was required to adjust some values in test/teslamate/log/log_charging_test.exs - I'm no Exilir pro, ... please double check my changes.

@adriankumpf adriankumpf merged commit 5bb546e into teslamate-org:master Feb 12, 2020
@adriankumpf
Copy link
Collaborator

Well done. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants