Skip to content

Commit

Permalink
Merge pull request #130 from PiotrMachowski/dev
Browse files Browse the repository at this point in the history
v2.4.10
  • Loading branch information
PiotrMachowski authored May 1, 2023
2 parents 962baca + 8605518 commit fe505cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/tauron_amiplus/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def calculate_tariff(username, password, meter_id):
@staticmethod
def add_all_data(data: dict, date):
all_datas = []
zone = list(data['data']['zonesName'].values())[0]
zone = list(data['data']['zonesName'].keys())[0]
for i, v in enumerate(data["data"]["values"]):
if len(data['data']['zonesName']) > 0:
selected_zones = list(filter(lambda item: item[1][i], data["data"]["chartZones"].items()))
Expand Down
2 changes: 1 addition & 1 deletion custom_components/tauron_amiplus/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/PiotrMachowski/Home-Assistant-custom-components-Tauron-AMIplus/issues",
"requirements": ["requests"],
"version": "v2.4.9"
"version": "v2.4.10"
}

0 comments on commit fe505cb

Please sign in to comment.