diff --git a/custom_components/coronavirus_hessen/__init__.py b/custom_components/coronavirus_hessen/__init__.py index 9b25aa7..d0fa3d6 100644 --- a/custom_components/coronavirus_hessen/__init__.py +++ b/custom_components/coronavirus_hessen/__init__.py @@ -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