Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Commit

Permalink
Use cumulative values
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Oct 27, 2021
1 parent 0abc2b5 commit 53f82b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/coronavirus_hessen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ async def async_get_data():
try:
county = line[0].get_text(" ", strip=True)
incidence = parse_num(line[1].get_text(" ", strip=True), t=float)
cases = parse_num(line[2].get_text(" ", strip=True))
deaths = parse_num(line[3].get_text(" ", strip=True))
cases = parse_num(line[4].get_text(" ", strip=True))
deaths = parse_num(line[5].get_text(" ", strip=True))
except:
_LOGGER.exception("Error processing line {}, skipping".format(line))
continue
Expand Down

0 comments on commit 53f82b4

Please sign in to comment.