mirror of
https://github.com/alexhopeoconnor/SunGather.git
synced 2026-10-24 03:12:33 +10:00
rename SungrowClient
This commit is contained in:
@@ -116,7 +116,7 @@ def main():
|
|||||||
logging.debug(f'Inverter Config Loaded: {config_inverter}')
|
logging.debug(f'Inverter Config Loaded: {config_inverter}')
|
||||||
|
|
||||||
if config_inverter.get('host'):
|
if config_inverter.get('host'):
|
||||||
inverter = SungrowInverter(config_inverter)
|
inverter = SungrowClient(config_inverter)
|
||||||
else:
|
else:
|
||||||
logging.error(f"Error: host option in config is required")
|
logging.error(f"Error: host option in config is required")
|
||||||
sys.exit("Error: host option in config is required")
|
sys.exit("Error: host option in config is required")
|
||||||
|
|||||||
Reference in New Issue
Block a user