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:
Stephen Walker
2024-05-20 13:00:06 +02:00
committed by GitHub
parent a15631f2ff
commit 6815945ba1
+28
View File
@@ -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,