Compare commits
3 Commits
v1.2.0
...
fc5f6e7c93
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc5f6e7c93 | ||
|
|
fa052cdfc9 | ||
|
|
f6f799e85f |
@@ -187,8 +187,8 @@ class CovidCrawler(CovidCrawlerBase):
|
|||||||
if not matches:
|
if not matches:
|
||||||
raise ValueError(f"Could not extract date from scraped web page, {text=}")
|
raise ValueError(f"Could not extract date from scraped web page, {text=}")
|
||||||
|
|
||||||
values["num_vaccinated_once"] = values["total_vaccinations"] - (
|
values["num_vaccinated_once"] = (
|
||||||
values["num_vaccinated_full"] + values["num_vaccinated_booster"]
|
values["total_vaccinations"] - values["num_vaccinated_full"]
|
||||||
)
|
)
|
||||||
|
|
||||||
values["date"] = parse_date(**matches.groupdict()).strftime("%Y-%m-%d")
|
values["date"] = parse_date(**matches.groupdict()).strftime("%Y-%m-%d")
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
{
|
{
|
||||||
"domain": "covid19_augsburg",
|
"domain": "covid19_augsburg",
|
||||||
"name": "COVID-19 Augsburg",
|
"name": "COVID-19 Augsburg",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://github.com/AdrianoKF/home-assistant-covid19-augsburg",
|
"documentation": "https://github.com/AdrianoKF/home-assistant-covid19-augsburg",
|
||||||
"issue_tracker": "https://github.com/AdrianoKF/home-assistant-covid19-augsburg/issues",
|
"issue_tracker": "https://github.com/AdrianoKF/home-assistant-covid19-augsburg/issues",
|
||||||
"requirements": ["beautifulsoup4==4.8.2"],
|
"requirements": [
|
||||||
|
"beautifulsoup4==4.8.2"
|
||||||
|
],
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"codeowners": ["@AdrianoKF"]
|
"codeowners": [
|
||||||
|
"@AdrianoKF"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "home_assistant_covid19_augsburg"
|
name = "home_assistant_covid19_augsburg"
|
||||||
version = "0.1.0"
|
version = "1.2.1"
|
||||||
description = ""
|
description = ""
|
||||||
authors = ["Adrian Rumpold <a.rumpold@gmail.com>"]
|
authors = ["Adrian Rumpold <a.rumpold@gmail.com>"]
|
||||||
packages = [
|
packages = [
|
||||||
|
|||||||
Reference in New Issue
Block a user