fix func name

This commit is contained in:
Florian Bezannier
2020-11-26 18:25:52 +01:00
parent 129988405c
commit 40c9fd517f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class ChargeControls:
self.list: dict = {}
self._confighash = None
def saveconfig(self,name="charge_config.json",force=False):
def save_config(self, name="charge_config.json", force=False):
chd = {}
for key, el in self.list.items():
chd[el.vin] = {"percentage_threshold": el.percentage_threshold, "stop_hour": el._stop_hour}