Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 2.29 KB

README.md

File metadata and controls

63 lines (45 loc) · 2.29 KB

Robert-Koch Institut COVID Numbers

GitHub contributors Version hacs_badge

The rki_covid component is a Home Assistant custom sensor for monitoring regional covid numbers in Germany.

Installation

Install with HACS (recommended)

  1. Ensure that HACS is installed.
  2. Search for and install the "RKI Covid numbers" integration.
  3. Configure the rki_covid sensor.
  4. Restart Home Assistant.

Install manually

  1. Download the latest release.
  2. Unpack the release and copy the custom_components/rki_covid directory into the <config dir>/custom_components directory of your Home Assistant installation.
  3. Configure the rki_covid sensor.
  4. Restart Home Assistant.

Configure

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.

Entities

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.

Graph

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

lovelace_graph.png

Automations

For automations have a look on the trend platform.

Contribution

See Contribution for details.