From e695305b5804680aa56ee20f48d3dabc6570aae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 23 Sep 2021 12:27:19 +0200 Subject: [PATCH] Adjust for changed source data --- 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 a48ad5b..6ce8f76 100644 --- a/custom_components/coronavirus_hessen/__init__.py +++ b/custom_components/coronavirus_hessen/__init__.py @@ -91,7 +91,7 @@ async def async_get_data(): continue county = sanitize_county(county) - if county in ("Gesamtergebnis", "gesamt"): + if county.lower() in ("gesamtergebnis", "gesamt"): county = OPTION_TOTAL result[county] = dict(cases=cases, deaths=deaths, incidence=incidence)