From d3a6ce7fe9d4c2dc6a0d538d0a3f265e4194d16d Mon Sep 17 00:00:00 2001 From: Roman Morandell <46994680+rmorandell-pgum@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:28:35 +0100 Subject: [PATCH] fix map fan status --- src/hardware/devices/video/axis/snmp/mode/components/fan.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hardware/devices/video/axis/snmp/mode/components/fan.pm b/src/hardware/devices/video/axis/snmp/mode/components/fan.pm index 5ae9e53eb1..eba8be802a 100644 --- a/src/hardware/devices/video/axis/snmp/mode/components/fan.pm +++ b/src/hardware/devices/video/axis/snmp/mode/components/fan.pm @@ -24,8 +24,8 @@ use strict; use warnings; my %map_fan_status = ( - 0 => 'ok', - 1 => 'failed', + 1 => 'ok', + 2 => 'failed', ); my $mapping = {