From 60ec8c90974695d3574105ff3c1a0beb73c1b144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Thu, 11 Dec 2025 14:28:29 +0800 Subject: [PATCH] JsonSchema: documents `cpu.tempSensor` Fixes #2073 --- doc/json_schema.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/json_schema.json b/doc/json_schema.json index 0bdf56bab..57096616f 100644 --- a/doc/json_schema.json +++ b/doc/json_schema.json @@ -1880,6 +1880,10 @@ "temp": { "$ref": "#/$defs/temperature" }, + "tempSensor": { + "description": "Set the temperature sensor to use for CPU temperature detection\n* Linux: `hwmon` or `thermal` path name (eg. `hwmonN`, `thermal_zoneN)`\n* macOS: SMC sensor key (eg. `Tp01`)\n* Windows: thermal zone key (eg. `\\_TZ.CPUZ`)\n* FreeBSD: sysctl key (eg. `dev.cpu.0.temperature`)\n* NetBSD: sysmon sensor key (eg. `coretemp0`)", + "type": "string" + }, "showPeCoreCount": { "description": "Detect and display CPU frequency of different core types (eg. Pcore and Ecore) if supported", "type": "boolean",