Merge pull request #571 from ExabyteDiscord/shuttle-sensor-fix

Fix Web Shuttle Sensors
This commit is contained in:
ExabyteDiscord
2020-10-08 15:22:39 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -410,7 +410,7 @@ const ShuttleControlConsoleWeb = (props, context) => {
<LabeledList>
{Object.keys(sensors).map(key => {
let sensor = sensors[key];
if (sensor.reading !== -1) {
if (sensor.reading === -1) {
return (
<LabeledList.Item label={key} color="bad">
Unable to get sensor air reading.

File diff suppressed because one or more lines are too long