diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-06-12 16:34:01 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-06-12 16:34:03 +0300 |
commit | 600fdf99ffd893857c9cdb9e68140766a963bd17 (patch) | |
tree | d552b945e0ebb1ed1cf8e9687eaa8ddafc7a4dcf /src/inverter_bot.py | |
parent | c69ad683dc8f84b217ef532a580a82801f19e20d (diff) |
inverter_bot: fix
Diffstat (limited to 'src/inverter_bot.py')
-rwxr-xr-x | src/inverter_bot.py | 2 |
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) |