Remove coords from diagnose

This commit is contained in:
Andre Basche 2023-04-14 23:24:31 +02:00
parent 272556586e
commit 0301427497

View File

@ -177,7 +177,7 @@ class HonAppliance:
@property @property
def diagnose(self): def diagnose(self):
data = self.data.copy() data = self.data.copy()
for sensible in ["PK", "SK", "serialNumber", "code"]: for sensible in ["PK", "SK", "serialNumber", "code", "coords"]:
data["appliance"].pop(sensible, None) data["appliance"].pop(sensible, None)
result = helper.pretty_print({"data": self.data}, whitespace="\u200B \u200B ") result = helper.pretty_print({"data": self.data}, whitespace="\u200B \u200B ")
result += helper.pretty_print( result += helper.pretty_print(