mirror of
https://github.com/vikt0rm/dbus-goecharger.git
synced 2025-08-01 11:14:26 +02:00
fix textformat without unit
This commit is contained in:
@@ -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