diff --git a/device/accton/x86_64-accton_as4630_54npe-r0/sonic_platform/thermal.py b/device/accton/x86_64-accton_as4630_54npe-r0/sonic_platform/thermal.py index da5c7ecf10bf..9005c491363b 100644 --- a/device/accton/x86_64-accton_as4630_54npe-r0/sonic_platform/thermal.py +++ b/device/accton/x86_64-accton_as4630_54npe-r0/sonic_platform/thermal.py @@ -416,7 +416,7 @@ def get_maximum_recorded(self): A float number, the maximum recorded temperature of thermal in Celsius up to nearest thousandth of one degree Celsius, e.g. 30.125 """ - if self.min_temperature is None: + if self.max_temperature is None: self.get_temperature() return self.max_temperature