diff --git a/custom_components/coronavirus_hessen/__init__.py b/custom_components/coronavirus_hessen/__init__.py index adce436..ba179df 100644 --- a/custom_components/coronavirus_hessen/__init__.py +++ b/custom_components/coronavirus_hessen/__init__.py @@ -88,7 +88,7 @@ async def async_get_data(): else: cases = 0 - if len(deaths_str) and death_str != "-": + if len(deaths_str) and deaths_str != "-": deaths = int(deaths_str) else: deaths = 0