🐛 Fix temperatures API (#4444)

There was a `time` field in there, which was an integer, and so didn't work with the loop so it's excluded
This commit is contained in:
Charlie Powell authored and GitHub committed 2022-03-02 10:55:46 +01:00
1 parent 2560712dd6
commit 8bfa031c46
1 file changed
+1
+1
View File
@@ -844,6 +844,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
"offset": offsets[key] if offsets.get(key) is not None else 0,
}
for key, value in last.items()
if key != "time"
}
def get_temperature_history(self, *args, **kwargs):