diff --git a/packages/modules/common/hardware_check.py b/packages/modules/common/hardware_check.py index 5515f41547..d8faf3a60e 100644 --- a/packages/modules/common/hardware_check.py +++ b/packages/modules/common/hardware_check.py @@ -43,7 +43,7 @@ def valid_voltage(voltage) -> bool: (valid_voltage(voltages[0]) and valid_voltage(voltages[1]) and valid_voltage((voltages[2])))): return METER_BROKEN_VOLTAGES.format(voltages) interdependent_values = [sum(counter_state.currents), counter_state.power] - if not (all(v == 0 for v in interdependent_values) or all(v != 0 for v in interdependent_values)): + if not (all(abs(v) < 0.5 for v in interdependent_values) or all(abs(v) > 0.5 for v in interdependent_values)): return METER_IMPLAUSIBLE_VALUE.format(counter_state.powers, counter_state.currents, counter_state.voltages) return None