summaryrefslogtreecommitdiff
path: root/src/inverter_bot.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-06-12 16:34:01 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-06-12 16:34:03 +0300
commit600fdf99ffd893857c9cdb9e68140766a963bd17 (patch)
treed552b945e0ebb1ed1cf8e9687eaa8ddafc7a4dcf /src/inverter_bot.py
parentc69ad683dc8f84b217ef532a580a82801f19e20d (diff)
inverter_bot: fix
Diffstat (limited to 'src/inverter_bot.py')
-rwxr-xr-xsrc/inverter_bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inverter_bot.py b/src/inverter_bot.py
index 5b3fe45..5ad5e33 100755
--- a/src/inverter_bot.py
+++ b/src/inverter_bot.py
@@ -452,7 +452,7 @@ class InverterBot(Wrapper):
if __name__ == '__main__':
config.load('inverter_bot')
- inverter.schema_init(host=config['inverter']['ip'], port=config['inverter']['port'])
+ inverter.init(host=config['inverter']['ip'], port=config['inverter']['port'])
monitor = InverterMonitor()
monitor.set_charging_event_handler(monitor_charging)