Decreasing some log warnings to debugs. Decreasing CPU temperature warning color.

This commit is contained in:
Roland 2022-10-16 10:33:43 -06:00
parent c97af1060b
commit 78218d3559
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
4 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ function CPUTemperatureStatistic({value, high_temperature, critical_temperature}
const props = {};
if ((critical_temperature && value >= critical_temperature) || (!critical_temperature && value >= 75)) {
props['color'] = 'red';
} else if ((high_temperature && value >= high_temperature) || (!high_temperature && value >= 60)) {
} else if ((high_temperature && value >= high_temperature) || (!high_temperature && value >= 55)) {
props['color'] = 'orange';
}
return <Statistic label='Temp C°' value={value} {...props}/>