🐛 Fix a key error
This commit is contained in:
1 parent
dc519e0aff
commit
d796d34a8a
1 file changed
+2
@@ -762,6 +762,8 @@ class Printer(PrinterInterface,
|
||||
|
||||
latest_temperature = self._temperature_history[-1]
|
||||
for key, value in latest_temperature.items():
|
||||
if key == "time":
|
||||
continue
|
||||
result[key] = dict(actual=value["actual"],
|
||||
target=value["target"],
|
||||
offset=offsets.get(key, 0))
|
||||
|
||||
Reference in new issue
Block a user