mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
Statistics: fix temperature colors and column layout for Fahrenheit (#3854)
Add the missing temperature color thresholds when using Fahrenheit Use the same index value for the temperature column so the layout is the same with Fahrenheit or Celsius
This commit is contained in:
@@ -433,7 +433,34 @@
|
||||
{
|
||||
"id": "unit",
|
||||
"value": "fahrenheit"
|
||||
},
|
||||
{
|
||||
"id": "custom.cellOptions",
|
||||
"value": {
|
||||
"type": "color-text"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "thresholds",
|
||||
"value": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "super-light-blue",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"color": "super-light-green",
|
||||
"value": 50
|
||||
},
|
||||
{
|
||||
"color": "super-light-red",
|
||||
"value": 68
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -727,6 +754,7 @@
|
||||
"avg_cost_mi": 20,
|
||||
"avg_cost_kwh": 11,
|
||||
"avg_outside_temp_c": 5,
|
||||
"avg_outside_temp_f": 5,
|
||||
"cnt": 6,
|
||||
"cnt_charges": 11,
|
||||
"cost_charges": 10,
|
||||
|
||||
Reference in New Issue
Block a user