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

Commit e695305

Browse files
authored
Adjust for changed source data
1 parent 9d786bf commit e695305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/coronavirus_hessen/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ async def async_get_data():
9191
continue
9292

9393
county = sanitize_county(county)
94-
if county in ("Gesamtergebnis", "gesamt"):
94+
if county.lower() in ("gesamtergebnis", "gesamt"):
9595
county = OPTION_TOTAL
9696

9797
result[county] = dict(cases=cases, deaths=deaths, incidence=incidence)

0 commit comments

Comments
 (0)