Skip to content

Commit

Permalink
Merge branch 'release/2024.04.05'
Browse files Browse the repository at this point in the history
  • Loading branch information
jheredianet committed Apr 5, 2024
2 parents 84fd5c8 + 5681bd5 commit 8ff63bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dashboards/BatteryHealth.json
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT ROUND(convert_km((max(odometer) - min(odometer))::numeric, '$length_unit'),0)|| ' $length_unit' as \"Mileage\"\nfrom positions where car_id = $car_id;",
"rawSql": "SELECT ROUND(convert_km((max(end_km) - min(start_km))::numeric, '$length_unit'),0)|| ' $length_unit' as \"Mileage\"\nFROM drives WHERE car_id = $car_id;",
"refId": "Mileage",
"select": [
[
Expand Down Expand Up @@ -488,7 +488,7 @@
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT ROUND(convert_km(max(odometer)::numeric, '$length_unit'),0) || ' $length_unit' as \"Odometer\"\nfrom positions where car_id = $car_id;",
"rawSql": "SELECT ROUND(convert_km(max(end_km)::numeric, '$length_unit'),0) || ' $length_unit' as \"Odometer\"\nFROM drives WHERE car_id = $car_id;",
"refId": "Odometer",
"select": [
[
Expand Down Expand Up @@ -1902,6 +1902,6 @@
"timezone": "browser",
"title": "Battery Health",
"uid": "jchmRiqUfXgRx",
"version": 23,
"version": 24,
"weekStart": ""
}
2 changes: 1 addition & 1 deletion dashboards/DatabaseDashboadInfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@
"format": "table",
"hide": false,
"rawQuery": true,
"rawSql": "SELECT '2024.04.02' AS \"Current Version\"",
"rawSql": "SELECT '2024.04.05' AS \"Current Version\"",
"refId": "DashboardVersion",
"sql": {
"columns": [
Expand Down

2 comments on commit 8ff63bf

@cwanja
Copy link

@cwanja cwanja commented on 8ff63bf Apr 5, 2024

Choose a reason for hiding this comment

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

@jheredianet are these changes applied to the Battery Health dashboard included with TeslaMate? Thanks!

@jheredianet
Copy link
Owner Author

@jheredianet jheredianet commented on 8ff63bf Apr 5, 2024

Choose a reason for hiding this comment

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

@jheredianet are these changes applied to the Battery Health dashboard included with TeslaMate? Thanks!

Yes, they are. Totally updated and synchronized in this PR teslamate-org/teslamate#3806

Please sign in to comment.