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

Update charging-stats.json #642

Merged
merged 2 commits into from
Apr 25, 2020
Merged

Update charging-stats.json #642

merged 2 commits into from
Apr 25, 2020

Conversation

Dulanic
Copy link
Collaborator

@Dulanic Dulanic commented Apr 24, 2020

Updated to address #528

Added case statement to adjust to show kWh at non decimal level and MWh at the 3 decimal point level. Cannot address directly within grafana so used case statement. Removed grafana sorting so can be sorted properly in SQL since not a direct # now for grafana to sort.

Dulanic added 2 commits April 24, 2020 11:16
Updated to address #528

Added case statement to adjust to show kWh at non decimal level and MWh at the 3 decimal point level. Cannot address directly within grafana so used case statement. Removed grafana sorting so can be sorted properly in SQL since not a direct # now for grafana to sort.
Fixed mWh to MWh
@Dulanic
Copy link
Collaborator Author

Dulanic commented Apr 24, 2020

Forgot to show what it looks like for quick reference. Alias wasnt changed so will be right in prod, this was just my testing.

image

@SigLinJo
Copy link

I think it looks great and does exactly what I was after! Thank you @Dulanic 👍 I would be really happy if this is merged!

Copy link
Collaborator

@adriankumpf adriankumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great solution. Thanks!

@adriankumpf adriankumpf merged commit d364783 into teslamate-org:master Apr 25, 2020
@Dulanic Dulanic deleted the patch-1 branch May 3, 2020 16:47
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.

3 participants