fix textformat without unit

This commit is contained in:
Viktor Markstädter
2022-04-05 21:25:51 +02:00
parent 7bb4250a29
commit f458f75728

View File

@@ -274,7 +274,7 @@ def main():
'/SetCurrent': {'initial': 0, 'textformat': _a},
'/MaxCurrent': {'initial': 0, 'textformat': _a},
'/MCU/Temperature': {'initial': 0, 'textformat': _degC},
'/StartStop': {'initial': 0}
'/StartStop': {'initial': 0, 'textformat': lambda p, v: (str(v))}
}
)