summaryrefslogtreecommitdiff
path: root/src/store
diff options
context:
space:
mode:
Diffstat (limited to 'src/store')
-rw-r--r--src/store/modules/Health/SensorsStore.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/store/modules/Health/SensorsStore.js b/src/store/modules/Health/SensorsStore.js
index 1c0de0db..0af2a95b 100644
--- a/src/store/modules/Health/SensorsStore.js
+++ b/src/store/modules/Health/SensorsStore.js
@@ -71,10 +71,13 @@ const SensorsStore = {
const sensorData = [];
Fans.forEach((sensor) => {
sensorData.push({
- // TODO: add upper/lower threshold
name: sensor.Name,
status: sensor.Status.Health,
currentValue: sensor.Reading,
+ lowerCaution: sensor.LowerThresholdNonCritical,
+ upperCaution: sensor.UpperThresholdNonCritical,
+ lowerCritical: sensor.LowerThresholdCritical,
+ upperCritical: sensor.UpperThresholdCritical,
units: sensor.ReadingUnits,
});
});