diff --git a/includes/html/functions.inc.php b/includes/html/functions.inc.php
index d3ae9ac57e..d34dfa3872 100644
--- a/includes/html/functions.inc.php
+++ b/includes/html/functions.inc.php
@@ -1319,6 +1319,14 @@ function get_sensor_label_color($sensor, $type = 'sensors')
return "" . trim($sensor['sensor_current']) . ' ' . $unit . '';
}
+ if ($type == 'wireless' && $sensor['sensor_class'] == 'frequency') {
+ return "" . trim(Number::formatSi($sensor['sensor_current'] * 1000000, 2, 3, 'Hz')) . '';
+ }
+
+ if ($type == 'wireless' && $sensor['sensor_class'] == 'distance') {
+ return "" . trim(Number::formatSi($sensor['sensor_current'] * 1000, 2, 3, 'm')) . '';
+ }
+
return "" . trim(Number::formatSi($sensor['sensor_current'], 2, 3, $unit)) . '';
}