. * * @package LibreNMS * @link http://librenms.org * @copyright 2017 Neil Lathwood * @author Neil Lathwood */ if ($sensor_cache['geist_temp_unit'] === '0') { $sensor_value = fahrenheit_to_celsius($sensor_value / 10) * 10; }