From 699b0e4188b777ee2a3850e0409164c08b464244 Mon Sep 17 00:00:00 2001 From: georgeto Date: Sat, 3 Aug 2024 22:41:21 +0200 Subject: [PATCH] fix: allow scttempsts probing method for asleep drives The smartctl scttempsts probing method works for asleep drives, without waking them up. --- hddfancontrol/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hddfancontrol/__init__.py b/hddfancontrol/__init__.py index be5f6bd..cf51abb 100755 --- a/hddfancontrol/__init__.py +++ b/hddfancontrol/__init__.py @@ -292,6 +292,7 @@ def supportsProbingWhileAsleep(self) -> bool: """Return True if drive can be probed while asleep, without waking up, False instead.""" return self.temp_query_method in ( Drive.TempProbingMethod.HDPARM_INVOCATION, + Drive.TempProbingMethod.SMARTCTL_SCT_INVOCATION, Drive.TempProbingMethod.DRIVETEMP, )