This commit is contained in:
Harald Hope 2023-11-02 19:53:07 -07:00
parent 11cc215449
commit 39cf6c3eb9

1
pinxi
View file

@ -26492,6 +26492,7 @@ sub load_sys_data {
$adapter .= '-' . $hwmons{$hwmon}->{'device'};
($unit,$value,@values) = ();
foreach my $item (@{$hwmons{$hwmon}->{'sensors'}}){
next if !$item->{'id'};
my $name = ($item->{'label'}) ? $item->{'label'}: $item->{'id'};
if ($item->{'id'} =~ /^temp/){
$unit = 'C';