forked from vikt0rm/dbus-goecharger
fix textformat without unit
This commit is contained in:
1 parent
7bb4250a29
commit
f458f75728
1 file changed
+1
-1
+1
-1
@@ -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))}
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user