axelera: report Metis temperature only on the NPU card

The same board readout was surfaced twice on the System page: once as
the detector temperature (get_hardware_temperatures) and once on the
NPU card (npu_usages). Keep the NPU card, where the value belongs.
This commit is contained in:
patrykorwat 2026-09-03 11:57:43 +00:00
parent 4e2e6bdc28
commit 5cd1350067

View File

@ -484,11 +484,5 @@ def get_hardware_temperatures(detector_type: str) -> list[float | None]:
elif detector_type == "hailo8l":
hailo_temps = get_hailo_temps()
return [hailo_temps[name] for name in sorted(hailo_temps.keys())]
elif detector_type == "axelera":
# Metis reports one board temperature through the SDK's axcmd tool
board_temp = get_axelera_board_temp()
if board_temp is not None:
return [board_temp]
return []