Merge branch 'other-thermals' of https://github.com/Meliox/PVE-mods into other-thermals

This commit is contained in:
Meliox 2026-07-05 17:01:17 +02:00
commit 0a0b3e3bf7

View File

@ -92,12 +92,12 @@ sub _get_temperature_sensors {
}
$data = JSON->new->pretty->encode({
cpu => $config{lm_sensors}{enable_cpu} ? \1 : \0,
nvme => $config{lm_sensors}{enable_nvme_temp} ? \1 : \0,
fans => $config{lm_sensors}{enable_fan_speed} ? \1 : \0,
hdd => $config{lm_sensors}{enable_hdd_temp} ? \1 : \0,
cpu => $config{lm_sensors}{enable_cpu} ? \1 : \0,
nvme => $config{lm_sensors}{enable_nvme_temp} ? \1 : \0,
fans => $config{lm_sensors}{enable_fan_speed} ? \1 : \0,
hdd => $config{lm_sensors}{enable_hdd_temp} ? \1 : \0,
other => $config{lm_sensors}{enable_other_temp} ? \1 : \0,
data => { 'PVE MOD lm-sensors Enhanced' => $sensors_json },
data => { 'PVE MOD lm-sensors Enhanced' => $sensors_json },
});
return $data;