With the switch to enums we need to get the actual int value before dumping json payload

This commit is contained in:
rorosentrater
2023-12-10 21:06:26 -05:00
parent e8e37828a1
commit 7ef0afed45

View File

@@ -309,7 +309,7 @@ class SaturnPrinter:
timestamp = int(time.time() * 1000)
cmd_data = {
"Data": {
"Cmd": cmdid,
"Cmd": cmdid.value,
"Data": data,
"From": 0,
"MainboardID": self.id,