feat: Crawling and parsing of vaccination data

See #2
This commit is contained in:
Adrian Rumpold
2021-08-10 20:06:41 +02:00
parent 8a97e92458
commit f83bb077c1
4 changed files with 111 additions and 33 deletions

View File

@@ -69,7 +69,7 @@ async def get_coordinator(hass: HomeAssistant):
async def async_get_data() -> IncidenceData:
crawler = CovidCrawler(hass)
return await crawler.crawl()
return await crawler.crawl_incidence()
hass.data[DOMAIN] = DataUpdateCoordinator(
hass,