The rki_covid
component is a Home Assistant custom sensor for monitoring regional covid numbers in Germany.
- Ensure that HACS is installed.
- Search for and install the "RKI Covid numbers" integration.
- Configure the
rki_covid
sensor. - Restart Home Assistant.
- Download the latest release.
- Unpack the release and copy the
custom_components/rki_covid
directory into the<config dir>/custom_components
directory of your Home Assistant installation. - Configure the
rki_covid
sensor. - Restart Home Assistant.
Add a new integration via Configuration > Integration
and select your district to monitor.
You can add multiple integrations for different districts.
Each district will add 5 Entities
wich can be added to the Lovelace UI.
This integration creates entities in the format DOMAIN.NAME_entity
.
Sensor | Type | Description |
---|---|---|
sensor.NAME_count |
number | indicates the confirmed cases. |
sensor.NAME_deaths |
number | indicates the numbers of confirmed death cases. |
sensor.NAME_weekIncidence |
number | indicates the week incidence per 100.000 inhabitants. |
sensor.NAME_casesPer100k |
number | indicates cases per 100k. |
sensor.NAME_casesPerPopulation |
number | indicates cases per population. |
Home-Assistant has built-in cards for graphs wich could be really helpful to display the current count with history.
type: sensor
graph: line
detail: 1
name: 'München '
entity: sensor.sk_munchen_weekincidence
hours_to_show: 72
For automations have a look on the trend platform.
See Contribution for details.