mirror of
https://github.com/gethomepage/homepage.git
synced 2026-09-12 07:05:56 -07:00
Enhancement: add "Temperature" label to list of possible CPU sensors (#6331)
This commit is contained in:
@@ -11,7 +11,7 @@ import Resource from "../widget/resource";
|
|||||||
import Resources from "../widget/resources";
|
import Resources from "../widget/resources";
|
||||||
import WidgetLabel from "../widget/widget_label";
|
import WidgetLabel from "../widget/widget_label";
|
||||||
|
|
||||||
const cpuSensorLabels = ["cpu_thermal", "Core", "Tctl"];
|
const cpuSensorLabels = ["cpu_thermal", "Core", "Tctl", "Temperature"];
|
||||||
|
|
||||||
function convertToFahrenheit(t) {
|
function convertToFahrenheit(t) {
|
||||||
return (t * 9) / 5 + 32;
|
return (t * 9) / 5 + 32;
|
||||||
|
|||||||
Reference in New Issue
Block a user