forked from vikt0rm/dbus-goecharger
fix textformat without unit
This commit is contained in:
@@ -274,7 +274,7 @@ def main():
|
|||||||
'/SetCurrent': {'initial': 0, 'textformat': _a},
|
'/SetCurrent': {'initial': 0, 'textformat': _a},
|
||||||
'/MaxCurrent': {'initial': 0, 'textformat': _a},
|
'/MaxCurrent': {'initial': 0, 'textformat': _a},
|
||||||
'/MCU/Temperature': {'initial': 0, 'textformat': _degC},
|
'/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