Make temperature range configurable

This commit is contained in:
2026-06-01 22:28:54 -04:00
parent 8602952d58
commit e06617b431
5 changed files with 48 additions and 28 deletions
+14 -3
View File
@@ -16,13 +16,24 @@ module.exports = [
"type": "toggle",
"messageKey": "CLAY_SHOW_TIME_MG",
"defaultValue": false,
"label": "Show time segments midground"
"label": "Show time segments midground",
"description": "Show or hide the unlit segments behind the time."
},
{
"type": "slider",
"messageKey": "CLAY_TEMP_BAR_0",
defaultValue: -32,
min: -50,
max: 0,
"label": "Minimum of temperature range",
"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": 10,
"label": "Low fuel percentage",
"defaultValue": 2,
"label": "Low fuel indicator percentage",
"description": "The low fuel indicator will appear at this battery percentage.",
"options": [
{
"label": "disabled",