diff --git a/custom_components/home_assistant_covid19_augsburg/crawler.py b/custom_components/home_assistant_covid19_augsburg/crawler.py index 8dce9f4..189863e 100644 --- a/custom_components/home_assistant_covid19_augsburg/crawler.py +++ b/custom_components/home_assistant_covid19_augsburg/crawler.py @@ -111,7 +111,7 @@ class CovidCrawler(CovidCrawlerBase): text = match.text.strip() _log.debug(f"Infection data text: {text}") - matches = re.search(r"(\d+,\d+)\sNeuinfektion", text) + matches = re.search(r"(\d+(,\d+)?)\sNeuinfektion", text) if not matches: raise ValueError( f"Could not extract incidence from scraped web page, {text=}" diff --git a/custom_components/home_assistant_covid19_augsburg/manifest.json b/custom_components/home_assistant_covid19_augsburg/manifest.json index b3292ae..b579662 100644 --- a/custom_components/home_assistant_covid19_augsburg/manifest.json +++ b/custom_components/home_assistant_covid19_augsburg/manifest.json @@ -1,7 +1,7 @@ { "domain": "covid19_augsburg", "name": "COVID-19 Augsburg", - "version": "1.1.2", + "version": "1.1.3", "config_flow": true, "documentation": "https://github.com/AdrianoKF/home-assistant-covid19-augsburg", "issue_tracker": "https://github.com/AdrianoKF/home-assistant-covid19-augsburg/issues",