mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
Fix missing convert_celsius function (#3827)
This commit is contained in:
@@ -1374,7 +1374,7 @@
|
||||
"hide": false,
|
||||
"metricColumn": "none",
|
||||
"rawQuery": true,
|
||||
"rawSql": "SELECT $__timeGroupAlias(date,$__interval),\r\navg(outside_temp) as outside_temp_$temp_unit \r\nFROM charges WHERE charging_process_id = $charging_process_id\r\nGROUP BY 1 ORDER BY 1 ",
|
||||
"rawSql": "SELECT $__timeGroupAlias(date,$__interval),\r\nconvert_celsius(avg(outside_temp), '$temp_unit') as outside_temp_$temp_unit \r\nFROM charges WHERE charging_process_id = $charging_process_id\r\nGROUP BY 1 ORDER BY 1 ",
|
||||
"refId": "Current",
|
||||
"select": [
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user