From ea3b718124308c0bc90d680765a34d9ae2393f05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Sat, 4 Apr 2020 13:39:03 +0200 Subject: [PATCH] Fix scraping format --- custom_components/coronavirus_hessen/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/coronavirus_hessen/__init__.py b/custom_components/coronavirus_hessen/__init__.py index e242eda..c0d0fa1 100644 --- a/custom_components/coronavirus_hessen/__init__.py +++ b/custom_components/coronavirus_hessen/__init__.py @@ -86,7 +86,7 @@ async def async_get_data(): _LOGGER.exception("Error processing line {}, skipping".format(line)) continue - if county == "Gesamt": + if county == "Gesamtergebnis": county = OPTION_TOTAL result[county] = dict(cases=cases, deaths=deaths)