<?php

if ($sensor['sensor_type'] === 'dellme') {
    $connUnitSensorMessage = explode(':', (string) $sensor_value);
    preg_match('/^ ([0-9]+) C ([0-9]+\.[0-9]+)F$/', array_pop($connUnitSensorMessage), $matches);
    $sensor_value = $matches[1];

    unset($matches,
        $connUnitSensorMessage
    );
}
