diff --git a/includes/polling/sensors/temperature/aos-emu2.inc.php b/includes/polling/sensors/temperature/aos-emu2.inc.php index 6462d66137e035538c67878918a27ba84bcbb8df..b1500a356fe5597629ebe8afd0c0336b0982370a 100644 --- a/includes/polling/sensors/temperature/aos-emu2.inc.php +++ b/includes/polling/sensors/temperature/aos-emu2.inc.php @@ -23,7 +23,6 @@ * @copyright 2016 Neil Lathwood * @author Neil Lathwood */ - $scale = SnmpQuery::cache()->enumStrings()->get('PowerNet-MIB::emsStatusSysTempUnits.0')->value(); $sensor_value = fahrenheit_to_celsius($sensor_value, $scale); diff --git a/includes/polling/sensors/temperature/geist-watchdog.inc.php b/includes/polling/sensors/temperature/geist-watchdog.inc.php index 80f53eb286dd603bbafc455001055c164ed0c940..8965779ab3d2d88167b119c469e4ca6d264cc7e4 100644 --- a/includes/polling/sensors/temperature/geist-watchdog.inc.php +++ b/includes/polling/sensors/temperature/geist-watchdog.inc.php @@ -23,7 +23,6 @@ * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ - $temp_unit = SnmpQuery::cache()->get('GEIST-V4-MIB::temperatureUnits.0')->value(); if ($temp_unit === '0') {