Skip to content

Commit

Permalink
#68: added ignore list for float conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Gentleman1983 committed Mar 8, 2024
1 parent 68a4aac commit 2f8fa48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ginlong_solis_api_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def write_to_influx_db(inverter_data, inverter_month, inverter_year, inverter_al
changelist_float.append(key)
ignore_change_to_float = ["updateDate"]
for key in ignore_change_to_float:
changelist_float.pop(key)
changelist_float.remove(key)
dict_float = convert_dict_details_to_float(dict_detail,changelist_float)
dict_fields.update(dict_float)

Expand Down

0 comments on commit 2f8fa48

Please sign in to comment.