Fix printer count sensors when extra garbage. (#14014)

Remove double include
This commit is contained in:
Tony Murray
2022-06-06 23:14:10 -05:00
committed by GitHub
parent acfd09287a
commit 52f70d6bcf
2 changed files with 2 additions and 4 deletions

View File

@@ -45,10 +45,6 @@ if ($device['os'] == 'gw-eydfa') {
include 'includes/discovery/sensors/gw-eydfa.inc.php';
}
if ($device['os_group'] == 'printer') {
include 'includes/discovery/sensors/state/printer.inc.php';
}
$run_sensors = [
'airflow',
'current',

View File

@@ -47,4 +47,6 @@ foreach ($walk as $index => $data) {
null,
$data['prtMarkerPowerOnCount'],
);
break; // only discover the first ones, others mostly duplicate
}