mirror of
https://codeberg.org/privacy1st/de-p1st-monitor
synced 2024-12-22 23:06:06 +01:00
add TODO
This commit is contained in:
parent
f93329a67b
commit
0e1405146d
@ -40,7 +40,7 @@ class DriveTempLogger(Logger):
|
|||||||
min_temp = data[1]
|
min_temp = data[1]
|
||||||
max_temp = data[2]
|
max_temp = data[2]
|
||||||
message = f'Temperature of drive type {self.type} is in range {min_temp}:{max_temp}'
|
message = f'Temperature of drive type {self.type} is in range {min_temp}:{max_temp}'
|
||||||
return WarnData(data[0], max_temp, message)
|
return WarnData(date=data[0], value=max_temp, message=message)
|
||||||
|
|
||||||
def read_data(self) -> list[any]:
|
def read_data(self) -> list[any]:
|
||||||
min_temp, max_temp = self.get_drive_temp()
|
min_temp, max_temp = self.get_drive_temp()
|
||||||
@ -83,7 +83,7 @@ class DriveTempLogger(Logger):
|
|||||||
}
|
}
|
||||||
|
|
||||||
Problem: If one has multiple drives attached, they can't be distinguished.
|
Problem: If one has multiple drives attached, they can't be distinguished.
|
||||||
https://github.com/giampaolo/psutil/issues/1902
|
TODO https://github.com/giampaolo/psutil/issues/1902
|
||||||
|
|
||||||
Therefore, we currently accumulate the maximum and minimum values of all drives of the same type.
|
Therefore, we currently accumulate the maximum and minimum values of all drives of the same type.
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user