Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #48 from thebino/Bugfix/rki-parser-requirement
Browse files Browse the repository at this point in the history
Bugfix/rki parser requirement
  • Loading branch information
thebino authored Jul 1, 2021
2 parents d7d2fff + f50537e commit 54f4771
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [1.5.1] - 2021-07-01
### Changed
- Changed string representation of the incidence number (# to nb).
- Changed manifest required version for rki-parser to compatible releases.

## [1.5.0] - 2021-04-18
### Added
- Added rki-covid-parser library as datasource
Expand Down
2 changes: 1 addition & 1 deletion custom_components/rki_covid/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dependencies": [],
"codeowners": ["@thebino"],
"requirements": [
"rki-covid-parser==1.0.0"
"rki-covid-parser~=1.0.0"
],
"quality_scale": "gold",
"config_flow": true
Expand Down
2 changes: 1 addition & 1 deletion custom_components/rki_covid/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def unit_of_measurement(self):
):
return "people"
elif self.info_type == "weekIncidence":
return "#"
return "nb"
else:
return "cases"

Expand Down

0 comments on commit 54f4771

Please sign in to comment.