Fix typo
This commit is contained in:
@ -72,7 +72,7 @@ def setChargeSetpoint(chargepoint):
|
|||||||
# Wait for connecting
|
# Wait for connecting
|
||||||
while not flagConntected:
|
while not flagConntected:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
client.publish("W/" + gxsn + "/settings/0/Settings/CGwacs/BatteryLife/Schedule/Charge/O/Soc", '{"value":' + str(chargepoint) + '}')
|
client.publish("W/" + gxsn + "/settings/0/Settings/CGwacs/BatteryLife/Schedule/Charge/0/Soc", '{"value":' + str(chargepoint) + '}')
|
||||||
client.loop_stop()
|
client.loop_stop()
|
||||||
|
|
||||||
# Set the Minimum Soc Limit
|
# Set the Minimum Soc Limit
|
||||||
|
|||||||
Reference in New Issue
Block a user