Github Mirror / telegraf-plugins: ade93e24




Don't abort if a station lookup fails, just move onto the next

Don't abort if a station lookup fails, just move onto the next

Commit ade93e24.

Authored 2023-06-01T13:57:48.000+01:00 by B Tasker in project Github Mirror / telegraf-plugins

+1 lines -3 lines

Commit Signature

Changes

diff --git a/soliscloud/soliscloud.py b/soliscloud/soliscloud.py
--- a/soliscloud/soliscloud.py
+++ b/soliscloud/soliscloud.py
# @@ -538,9 +538,7 @@ if __name__ == "__main__":
# # The list detail doesn't tell us anything about batteries, so we need
# # to iterate through and get details
# if not inverters:
# - # TODO: do we _really_ want to exit at this point, or should we return
# - # what we've got?
# - sys.exit(1)
# + continue
#
# for inverter in inverters['data']['page']['records']:
# #print(inverter)
#