Fix low fuel indicator configuration

This commit is contained in:
2026-06-06 17:36:20 -04:00
parent 38f17cfabf
commit c1287e628a
4 changed files with 15 additions and 38 deletions
+7 -30
View File
@@ -46,37 +46,14 @@ module.exports = [
"description": "Default: -32°C<br><br>Measured in Celsius, this value sets the temperature that is considered the minimum on the watchface. When it is this temperature, 0 temperature bars will be displayed. The maximum is this value +80, making the default maximum 48°C."
},
{
"type": "select",
"messageKey": "CLAY_LOW_FUEL_BARS",
"defaultValue": 2,
"type": "slider",
"messageKey": "CLAY_LOW_FUEL_PERCENT",
defaultValue: 20,
min: 0,
max: 100,
step: 10,
"label": "Low fuel indicator percentage",
"description": "The low fuel indicator will appear at this battery percentage.",
"options": [
{
"label": "disabled",
"value": 21,
},
{
"label": "10%",
"value": 2,
},
{
"label": "20%",
"value": 4,
},
{
"label": "30%",
"value": 6,
},
{
"label": "40%",
"value": 8,
},
{
"label": "50%",
"value": 10,
}
]
"description": "The low fuel indicator will appear at this battery percentage. Set to 0 to disable."
}
]
},