With the switch to enums we need to get the actual int value before dumping json payload
This commit is contained in:
@@ -309,7 +309,7 @@ class SaturnPrinter:
|
|||||||
timestamp = int(time.time() * 1000)
|
timestamp = int(time.time() * 1000)
|
||||||
cmd_data = {
|
cmd_data = {
|
||||||
"Data": {
|
"Data": {
|
||||||
"Cmd": cmdid,
|
"Cmd": cmdid.value,
|
||||||
"Data": data,
|
"Data": data,
|
||||||
"From": 0,
|
"From": 0,
|
||||||
"MainboardID": self.id,
|
"MainboardID": self.id,
|
||||||
|
Reference in New Issue
Block a user